CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML





Zone: > NEWSGROUP > Asp.Net Forum > visual_studio.visual_studio_2005 Tags:
Item Type: NewsGroup Date Entered: 10/11/2007 9:16:10 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 6 Views: 10 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
7 Items, 1 Pages 1 |< << Go >> >|
abhiutd
Asp.Net User
Error after publishing website, pls help10/11/2007 9:16:10 PM

0/0

Hi,

I published the website to C:\MyWebSite and created a virtual directory WebSite pointing to it. Now when i try to access the page as localhost/WebSite/MyDefault.aspx, i get the following error:

Server Error in '/' Application. 

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: An error occurred loading a configuration file: Failed to start monitoring changes to 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\machine.config' because access is denied.

It seems like a very generic error and i checked all the settings of the virtual directory and nothing seems to be wrong to me unless i'm missing out something. Can you pls suggest what i can do?

Thank You! 

 

sswanner1
Asp.Net User
Re: Error after publishing website, pls help10/11/2007 9:55:51 PM

0/0

Sounds like you need to make sure that .NET gets access to the c:\MyWebSite directory

machinename\ASPNET


Mark this post as the "Answer" if it was the answer.
abhiutd
Asp.Net User
Re: Error after publishing website, pls help10/12/2007 2:02:33 PM

0/0

Hi,

I did add this into security settings of the c:\MyWebSite directory but still getting the same error. Is there something else i can do. Please help!

Thank You! 

 

sswanner1
Asp.Net User
Re: Error after publishing website, pls help10/12/2007 2:54:34 PM

0/0

In IIS, is the directory configured as an application?  Also make sure that the version of .net is configured properly (1.1 or 2.0) in IIS.


Mark this post as the "Answer" if it was the answer.
abhiutd
Asp.Net User
Re: Error after publishing website, pls help10/12/2007 5:50:13 PM

0/0

Yes, it is. I have the application name created and have 2.0 selected on the ASP.NET tab.. I am so frustrated now :(

Also, its happening for all the websites that i publish and try to access on my machine. Although, all of them run just fine before i publish them to a separate location. I dont know what am i missing here.

Thank You!

 

Benson Yu - MSF
Asp.Net User
Re: Error after publishing website, pls help10/15/2007 3:48:44 AM

0/0

Hi abhiutd,

The error message shows that accessing to the machine.config is denied. Have your checked the permission of ?machineName\ASPNET? account on this file: ?C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\machine.config? on the server? Please right click the ?machine.config? file, and then select ?Properties?. The ?machineName\ASPNET? account should have ?Read& Execute? and ?Read? allow permission.

Actually the ASPNET account by default has ?Read & Execute?, ?List Folder Contents? and ?Read? permissions on the ?C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\? directory, and all of its contents inherit this permission except explicitly deny settings.

In addition, if grant permission of the folder and files cannot fix the issue, please try to reinstall ASP.NET 1.1 by running this command:

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis -i

Just a reminder, we should do the above operations on the server.

 


Sincerely,
Benson Yu
Microsoft Online Community Support

Please remember to click ?Mark as Answer? on the post that helps you, and to click ?Unmark as Answer? if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
abhiutd
Asp.Net User
Re: Error after publishing website, pls help10/15/2007 1:36:07 PM

0/0

Re-installing ASP.NET 2.0 using aspnet_regiis -i worked. Although i would like to know why do i have to reinstall it in this case whereas i was able to run my application using VS2005.Thank You!

7 Items, 1 Pages 1 |< << Go >> >|



Search This Site:


Meet Our Sponsors:



Other Resources:

One Master Page, Multiple Sites/Soloutions - newsgroup.asp-net-forum ... some work and help from the Windows guys on this one. ... error after publishing website, pls help. simple php script - conversion to asp.net ...
Application works on intranet but not on internet from a different ... some one pls help me... Regards. Karen. jose_jimenez. Asp.Net User ... company does not need access to the publishing application of the ...
Saving, Naming, Previewing and Publishing [Archive] - Page 4 - Web Hosting [Archive] Page 4 Discussions and help with saving, naming and publishing your pages with the BlueVoda Website Builder. ... After publishing a website whats the ...
Saving, Naming, Previewing and Publishing [Archive] - Page 3 - Web Hosting ... and publishing your pages with the BlueVoda Website Builder. ... Blank page after publishing. help i cant publish anything. Publishing assistance. Error 550 ...
Error AFTER "Install Authentication Services" - Install It! - DotNetNuke I had been publishing the Web Site and then running Default and in the process of ... Hi Bob, Can you pls explain me how did you pointed to the built site? ...
Msn Errors: Fix 8004888D Error HELP ME PLS!! OMG!! 5.5.07. Jonathan said... thank you i've been trying to fix it 4 2 years! ... and finally attempted this after googling the error code. ...
Weebly Blog - Working on site publishing Create free website. ... I get a 404 error when trying to access my site, can you help me out? ... 1. Pls update my edits. ...
Vista Update Error Code 8000ffff - new problem - TechNet Forums I had found a different error after reviewing the log more carefully and pointed ... Pls help. Thanks in advance. Report Abuse. Page 1 of 1 (10 items) ...
Installation and Upgrading [Archive] - Fabrik ... server error when saving or publishing form. Fatal error concerning ... Pls help needed ... Need Help. require once error. Warnings after install 1.0.6 ...
Fix Generic Host For Win32 and Svchost.exe Error I've encountered the error still, even after applying all the existent ... my yahoo id i can see my msg , can see what ppl are talking to me pls need help ! ...
TheMSsForum.com >> IIS >> IIS ERROR authentication - The Microsoft ... loading website Hi, Windows 2003, IIS6: After restarting IIS, a website or an ... pls help to solve error ASP 500.100 Please help me to come out from this error ...



 
All Times Are GMT