|
-
Aug 2nd, 2009, 05:19 AM
#1
Thread Starter
Frenzied Member
[RESOLVED] Asp.net vb & iis .net 2
Good Morning Everyone,
I am getting very annoyed at the fact that I can't get this very simple two page asp.net site up and running. All it is, is a small survey page and a completion page. No masters nothing linking outside the project.
I have doen asp.net sites before but why I can't get this one working I don't know.
Here is the link: http://surveys.dhcd.co.uk
I have turned on Directory Browsing and turned of default Document so you can see whats in there.
This Is what I get even when Directory Browsing and clicking on the page to open:
The page cannot be found
The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.
--------------------------------------------------------------------------------
Please try the following:
•Make sure that the Web site address displayed in the address bar of your browser is spelled and formatted correctly.
•If you reached this page by clicking a link, contact the Web site administrator to alert them that the link is incorrectly formatted.
•Click the Back button to try another link.
HTTP Error 404 - File or directory not found.
Internet Information Services (IIS)
--------------------------------------------------------------------------------
Technical Information (for support personnel)
•Go to Microsoft Product Support Services and perform a title search for the words HTTP and 404.
•Open IIS Help, which is accessible in IIS Manager (inetmgr), and search for topics titled Web Site Setup, Common Administrative Tasks, and About Custom Error Messages.
Any settings you need to see from IIS let me know and I will grab them.
-
Aug 2nd, 2009, 01:06 PM
#2
Re: Asp.net vb & iis .net 2
Hey,
OK, I tried to visit the link that you posted, but there is nothing there.
As for the problem that you are having, I have a couple questions....
1) What is the version of .Net that you are using?
2) Have you configured the Virtual Directory in IIS to use this version?
3) What are the names of the files that you are trying to browse? If these are anything other than Default.aspx, then by default IIS, will not display them until to browse to them directly, i.e. http://surveys.dhcd.co.uk/MyPage.aspx, you can change this setting within IIS though to include other default pages.
Gary
-
Aug 2nd, 2009, 01:09 PM
#3
Re: Asp.net vb & iis .net 2
I don't think that subdomain has been set up properly. I can't ping it so dhcd.co.uk isn't acknowledging its existence. When I go there, I get the usual Firefox 'server not found' message.
-
Aug 2nd, 2009, 01:12 PM
#4
Re: Asp.net vb & iis .net 2
Yip, that is what I got as well.
The top level domain seems to be working though.
Gary
-
Aug 2nd, 2009, 02:27 PM
#5
Thread Starter
Frenzied Member
Re: Asp.net vb & iis .net 2
Hmm Thats intresting because I set up the DNS for that subdomain and works find internally but it doesn't seem to be getting out which is odd. I had the same problem when I put it in a subfolder and declared a new application.
I am using .Net 2 and I have set the ASP.NET Tab in IIS to the .Net 2.xx.xxx
Ok I have put it on the main domain so you can now access it via:
http://dhcd.co.uk/Surveys
Directory Browsing is turned on so go there and you will see all the files but none of the aspx files work (there are only two and the complete.aspx just contains text and an image no coding.
:-( Probably a setting in IIS but I can't see what.
-
Aug 2nd, 2009, 02:31 PM
#6
Re: Asp.net vb & iis .net 2
Did you give its own application pool?
-
Aug 2nd, 2009, 02:53 PM
#7
Thread Starter
Frenzied Member
Re: Asp.net vb & iis .net 2
Yes I did, here is a couple of screenshots:

-
Aug 2nd, 2009, 03:20 PM
#8
Thread Starter
Frenzied Member
Re: Asp.net vb & iis .net 2
Think I might have found the problem :-) Ill let you know in a bit...
-
Aug 2nd, 2009, 03:36 PM
#9
Thread Starter
Frenzied Member
Re: Asp.net vb & iis .net 2
No not that. Any suggestions?
-
Aug 3rd, 2009, 01:38 AM
#10
Re: Asp.net vb & iis .net 2
OK, try a few things.
Create a simple HTML page. See if IIS can display it.
Create a simple classic ASP page. See if IIS can display it.
Right click your virtual directory, go through the tabs - one of the tabs will tell you where the logs are being stored. It's possible that the main website rather than the virtual directory mentions this. Go to the log files. Now try accessing your .aspx pages again and then look at the log file for any error messages.
While you're at it, look at Start > Run > eventvwr.
-
Aug 3rd, 2009, 02:05 AM
#11
Thread Starter
Frenzied Member
Re: Asp.net vb & iis .net 2
Ok I will have a look later. I have tried a basic HTML page and it works fine.
-
Aug 3rd, 2009, 05:53 AM
#12
Hyperactive Member
Re: Asp.net vb & iis .net 2
Is your first page "Default.aspx" ??? if no then set the page in Documents
MCP, MCTS, Microsoft MVP [Asp.Net/IIS]
For more .NET development tips visit .NET Tips
If the post is useful then please  Rate it
-
Aug 3rd, 2009, 06:15 AM
#13
Re: Asp.net vb & iis .net 2
Hey,
Ok, something quite strange is going on here?!? The url that you posted isn't even listing the pages that you can see within IIS.
Have you removed them?
Gary
-
Aug 3rd, 2009, 09:16 AM
#14
Re: Asp.net vb & iis .net 2
I did see the aspx pages there last night, this morning they were gone. Yes, I'm an IISStalker.
-
Aug 3rd, 2009, 12:27 PM
#15
Thread Starter
Frenzied Member
Re: Asp.net vb & iis .net 2
Good Evening,
No I havn't removed the files but they were missing, very strange. I have put them back now so they should be back on:
http://dhcd.co.uk/Surveys
Regards,
MAx
-
Aug 3rd, 2009, 04:21 PM
#16
Re: Asp.net vb & iis .net 2
Did you do the ASP file check? Did you do the log file check? What's in the App_Data folder?
-
Aug 3rd, 2009, 04:23 PM
#17
Re: Asp.net vb & iis .net 2
Also, is customErrors set to Off in web.config? The server is redirecting us to IIS's 404 page, so I'm wondering if an exception is bubbling up too.
-
Aug 4th, 2009, 01:59 PM
#18
Thread Starter
Frenzied Member
Re: Asp.net vb & iis .net 2
Ok,
ASP works perfectly, With the CustomErrors On/Off/RemoteOnly(Default) it does the same every time.
Im wondering if I should abolish IIS delete my website and all settings, uninstall and reinstall .net and then set IIS back up?
Is it worth going through that hassle?
-
Aug 4th, 2009, 02:02 PM
#19
Re: Asp.net vb & iis .net 2
Before that, look at the log files dude! There are bound to be errors there.
-
Aug 4th, 2009, 02:07 PM
#20
Thread Starter
Frenzied Member
Re: Asp.net vb & iis .net 2
Sorry I meant to look there but got distracted :-)
This is the only thing I can see through all the logs this was a few mins ago when I was trying to access again and I tested the ASP page which you can see:
2009-08-04 18:56:00 W3SVC207448070 192.168.1.2 GET /index.html - 80 - 192.168.1.65 Mozilla/4.0+(compatible;+MSIE+8.0;+Windows+NT+6.1;+WOW64;+Trident/4.0;+SLCC2;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729;+Media+Center+PC+6.0;+FDM;+Of ficeLiveConnector.1.3;+OfficeLivePatch.0.0) 200 0 0
2009-08-04 18:56:00 W3SVC207448070 192.168.1.2 GET /images/logo/logo.gif - 80 - 192.168.1.65 Mozilla/4.0+(compatible;+MSIE+8.0;+Windows+NT+6.1;+WOW64;+Trident/4.0;+SLCC2;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729;+Media+Center+PC+6.0;+FDM;+Of ficeLiveConnector.1.3;+OfficeLivePatch.0.0) 200 0 0
2009-08-04 18:56:04 W3SVC207448070 192.168.1.2 GET /Default.aspx - 80 - 192.168.1.65 Mozilla/4.0+(compatible;+MSIE+8.0;+Windows+NT+6.1;+WOW64;+Trident/4.0;+SLCC2;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729;+Media+Center+PC+6.0;+FDM;+Of ficeLiveConnector.1.3;+OfficeLivePatch.0.0) 404 2 1260
2009-08-04 18:56:08 W3SVC207448070 192.168.1.2 GET /Default.aspx - 80 - 192.168.1.65 Mozilla/4.0+(compatible;+MSIE+8.0;+Windows+NT+6.1;+WOW64;+Trident/4.0;+SLCC2;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729;+Media+Center+PC+6.0;+FDM;+Of ficeLiveConnector.1.3;+OfficeLivePatch.0.0) 404 2 1260
2009-08-04 18:56:09 W3SVC207448070 192.168.1.2 GET /Default.aspx - 80 - 192.168.1.65 Mozilla/4.0+(compatible;+MSIE+8.0;+Windows+NT+6.1;+WOW64;+Trident/4.0;+SLCC2;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729;+Media+Center+PC+6.0;+FDM;+Of ficeLiveConnector.1.3;+OfficeLivePatch.0.0) 404 2 1260
2009-08-04 18:56:19 W3SVC207448070 192.168.1.2 GET /Default.aspx - 80 - 192.168.1.65 Mozilla/4.0+(compatible;+MSIE+8.0;+Windows+NT+6.1;+WOW64;+Trident/4.0;+SLCC2;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729;+Media+Center+PC+6.0;+FDM;+Of ficeLiveConnector.1.3;+OfficeLivePatch.0.0) 404 2 1260
2009-08-04 18:56:21 W3SVC207448070 192.168.1.2 GET /Default.aspx - 80 - 192.168.1.65 Mozilla/4.0+(compatible;+MSIE+8.0;+Windows+NT+6.1;+WOW64;+Trident/4.0;+SLCC2;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729;+Media+Center+PC+6.0;+FDM;+Of ficeLiveConnector.1.3;+OfficeLivePatch.0.0) 404 2 1260
2009-08-04 18:56:21 W3SVC207448070 192.168.1.2 GET /Default.aspx - 80 - 192.168.1.65 Mozilla/4.0+(compatible;+MSIE+8.0;+Windows+NT+6.1;+WOW64;+Trident/4.0;+SLCC2;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729;+Media+Center+PC+6.0;+FDM;+Of ficeLiveConnector.1.3;+OfficeLivePatch.0.0) 404 2 1260
2009-08-04 18:56:21 W3SVC207448070 192.168.1.2 GET /Default.aspx - 80 - 192.168.1.65 Mozilla/4.0+(compatible;+MSIE+8.0;+Windows+NT+6.1;+WOW64;+Trident/4.0;+SLCC2;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729;+Media+Center+PC+6.0;+FDM;+Of ficeLiveConnector.1.3;+OfficeLivePatch.0.0) 404 2 1260
2009-08-04 18:56:21 W3SVC207448070 192.168.1.2 GET /Default.aspx - 80 - 192.168.1.65 Mozilla/4.0+(compatible;+MSIE+8.0;+Windows+NT+6.1;+WOW64;+Trident/4.0;+SLCC2;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729;+Media+Center+PC+6.0;+FDM;+Of ficeLiveConnector.1.3;+OfficeLivePatch.0.0) 404 2 1260
2009-08-04 18:56:21 W3SVC207448070 192.168.1.2 GET /Default.aspx - 80 - 192.168.1.65 Mozilla/4.0+(compatible;+MSIE+8.0;+Windows+NT+6.1;+WOW64;+Trident/4.0;+SLCC2;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729;+Media+Center+PC+6.0;+FDM;+Of ficeLiveConnector.1.3;+OfficeLivePatch.0.0) 404 2 1260
2009-08-04 18:56:21 W3SVC207448070 192.168.1.2 GET /Default.aspx - 80 - 192.168.1.65 Mozilla/4.0+(compatible;+MSIE+8.0;+Windows+NT+6.1;+WOW64;+Trident/4.0;+SLCC2;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729;+Media+Center+PC+6.0;+FDM;+Of ficeLiveConnector.1.3;+OfficeLivePatch.0.0) 404 2 1260
2009-08-04 18:56:22 W3SVC207448070 192.168.1.2 GET /Default.aspx - 80 - 192.168.1.65 Mozilla/4.0+(compatible;+MSIE+8.0;+Windows+NT+6.1;+WOW64;+Trident/4.0;+SLCC2;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729;+Media+Center+PC+6.0;+FDM;+Of ficeLiveConnector.1.3;+OfficeLivePatch.0.0) 404 2 1260
2009-08-04 18:56:22 W3SVC207448070 192.168.1.2 GET /Default.aspx - 80 - 192.168.1.65 Mozilla/4.0+(compatible;+MSIE+8.0;+Windows+NT+6.1;+WOW64;+Trident/4.0;+SLCC2;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729;+Media+Center+PC+6.0;+FDM;+Of ficeLiveConnector.1.3;+OfficeLivePatch.0.0) 404 2 1260
2009-08-04 18:56:22 W3SVC207448070 192.168.1.2 GET /Default.aspx - 80 - 192.168.1.65 Mozilla/4.0+(compatible;+MSIE+8.0;+Windows+NT+6.1;+WOW64;+Trident/4.0;+SLCC2;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729;+Media+Center+PC+6.0;+FDM;+Of ficeLiveConnector.1.3;+OfficeLivePatch.0.0) 404 2 1260
-
Aug 5th, 2009, 02:00 AM
#21
Re: Asp.net vb & iis .net 2
Nothing there. 
OK, do you have a tab in IIS called web service extensions? Expand it and enable what you see there.
Is this the only site, among others, in which ASPX isn't working or does it not work anywhere? In other words, if you create a new website and plonk your app there, does it work?
-
Aug 5th, 2009, 01:40 PM
#22
Thread Starter
Frenzied Member
Re: Asp.net vb & iis .net 2
This is the only website I have but I tried creating a new website and plonking my pagse there and exactly the same happened still.
I can't see that tab you are on about. Where is that located?
-
Aug 5th, 2009, 01:45 PM
#23
Thread Starter
Frenzied Member
Re: Asp.net vb & iis .net 2
Oh sorry you said Tab, its not a tab but yes I know what you mean.
Also think I have actually found the problem now. Give me 5 mins and I will give something a go...
-
Aug 5th, 2009, 01:51 PM
#24
Re: Asp.net vb & iis .net 2
It's still called a tab
-
Aug 5th, 2009, 01:59 PM
#25
Thread Starter
Frenzied Member
Re: Asp.net vb & iis .net 2
I wouldnt call that a tab. A Tab is,,, well I can't explain it....
That is,,umm Well a Tree Directory :-P
How the hell do you uninstall .Net!!!! Saying it can't install because it will effect other applications?
-
Aug 5th, 2009, 02:03 PM
#26
Thread Starter
Frenzied Member
Re: Asp.net vb & iis .net 2
Think I have managed it now. Manually running the setup.exe in the framework folder
Also to let you know what I think the problem is. When I went to the wev services i saw asp enabled, asp.net.....should be no problem... look again only .net 1 is listed!!!!
-
Aug 5th, 2009, 02:29 PM
#27
Re: Asp.net vb & iis .net 2
 Originally Posted by max_carpenter
I wouldnt call that a tab. A Tab is,,, well I can't explain it....
That is,,umm Well a Tree Directory :-P
How the hell do you uninstall .Net!!!! Saying it can't install because it will effect other applications?
Not by me by any means - they call it a tab.
-
Aug 5th, 2009, 02:30 PM
#28
Re: Asp.net vb & iis .net 2
 Originally Posted by max_carpenter
Think I have managed it now. Manually running the setup.exe in the framework folder
Also to let you know what I think the problem is. When I went to the wev services i saw asp enabled, asp.net.....should be no problem... look again only .net 1 is listed!!!!
Oh and AHA!! Let us know how that gets along, I think this should solve your problem.
-
Aug 5th, 2009, 02:34 PM
#29
Thread Starter
Frenzied Member
Re: Asp.net vb & iis .net 2
Yes It should hopefully :-D Taking awhile though
-
Aug 5th, 2009, 02:53 PM
#30
Thread Starter
Frenzied Member
Re: Asp.net vb & iis .net 2
Yes, its working now. There must of been something wrong with the .Net installation. Thanks for all your help. I can now publish my survey :-)
-
Aug 5th, 2009, 02:59 PM
#31
Re: Asp.net vb & iis .net 2
Hey,
I have seen issues with this when IIS is installed after the .Net framework is installed. Is that the order that you did it? In which case I have always had to re-install ASP.Net. This is normally how I have done it, using this tool:
http://msdn.microsoft.com/en-us/libr...8h(VS.80).aspx
If your question has been answered, remember to mark your thread as resolved.
Gary
-
Aug 5th, 2009, 03:16 PM
#32
Thread Starter
Frenzied Member
Re: Asp.net vb & iis .net 2
Hi, Yes it prob was installed .net then IIS thinking about it.
I was just playing around before I mark it as resolved. Got a lot of runtime errors :-)
But all good for now. If anyone fancies helping me out with research please complete this very very small survey about the Anti-Theft Project I will be working on:
http://www.dhcd.co.uk/Default.aspx
Thanks,
Max
-
Aug 5th, 2009, 03:18 PM
#33
Re: Asp.net vb & iis .net 2
Hey,
Haven't done the survey, but I didn't notice a spelling mistake 
This information along with the pictures ill be transfered over
Assuming that should be will, not ill.
Gary
-
Aug 5th, 2009, 03:25 PM
#34
Thread Starter
Frenzied Member
Re: [RESOLVED] Asp.net vb & iis .net 2
Yes should be thanks for pointing that out will edit it now. Only spent a couple of minutes on that survey :-)
I am sure you can't tell...
-
Aug 6th, 2009, 01:01 AM
#35
Re: [RESOLVED] Asp.net vb & iis .net 2
Congrats. Told you so. Got an error filling the survey.
Code:
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.
Source Error:
Line 51: ASP.NET to identify an incoming user.
Line 52: -->
Line 53: <authentication mode="Windows"/>
Line 54: <!--
Line 55: The <customErrors> section enables configuration
Source File: C:\DHCD\www\surveys\web.config Line: 53
Got a web.config in antitheft by any chance?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|