|
-
Aug 9th, 2004, 07:59 AM
#1
Thread Starter
PowerPoster
Virtual Directory
I have uploaded my .aspx files on the webserver and have made the same folder structure as on my local machine.
the only difference been that on my local machine i have work in a sub-directory (virtual directory) which VS creates when we start a new project.
Similarly I have a directory on the webserver as well.
I keep getting the following error:
Code:
Server Error in '/' Application.
--------------------------------------------------------------------------------
Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.
Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".
<!-- Web.Config Configuration File -->
<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>
Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.
<!-- Web.Config Configuration File -->
<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>
I have already chnaged the CustomErrors mode to "Off" with no effect on the output.
It is a normal folder which I have created on my webserver and not a Virtual directory, does this matter?
Thank you.
-
Aug 9th, 2004, 09:43 AM
#2
Retired VBF Adm1nistrator
Right click on the folder and select Sharing and Security.
Ensure that the ASPNET account has full control
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
-
Aug 9th, 2004, 11:00 AM
#3
Thread Starter
PowerPoster
Thanks for the reply.
Are u sure thats the only possible reason for the error.
Because, the server is a shared server, I dont have access to the IIS on the sever. but if u think thats the only possiblity, then I can talk to them.
Thanks once again for the reply.
-
Aug 10th, 2004, 03:08 AM
#4
Retired VBF Adm1nistrator
The only other thing I can think of is to ensure that the virtual directory's configured for as a web application... which if you've just created a normal folder it wouldn't be.
You could use Frontpage Web Services (or whatever its called) in VStudio to copy your project's executable files etc. onto the IIS server and setup the folder itself.
Or, ensure there is a virtual directory setup inside IIS, and ensure its setup for Scripts and Executables...
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
-
Aug 10th, 2004, 10:50 AM
#5
Frenzied Member
I had the same problem.
You have to open Internet Services Manager from Administrative Tools on the server. Expand the computer name, Default Website and if you've already created the folder in /Inetpub/wwwroot/ then it will show up.
BUT it's not a virtual directory yet. Right click Default Website, go to New, Virtual Directory, type in the same name as the folder or a different alias and browse for the exact folder in /Inetpub/wwwroot/
Refresh Default Website and the icon for the folder will change indicating it's now a Virtual Directory.
It would be nice if there was a batch file you could run instead of doing all that manually, but it's the only way I know of.
-
Aug 10th, 2004, 01:52 PM
#6
Thread Starter
PowerPoster
Thank you both of you.
So, I guess, its just that I have to create a virtual directory and thats all is required. I will get it done and get back.
Thanks.
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
|