Website will not start - UNC share problem

I am trying to convert a website to ASP.Net.  I was using it in Dreamweaver but I want to be able to use the code behind ASP and so I have brought the project into Visual Studio so that I can do this but I cannot get the website to run.  It gives me the following error:

'An error occurred loading a configuration file: Failed to start monitoring changes to '(long file path here to a folder were some PDFs are stored for website links)' because the network BIOS command limit has been reached.  For more information, please refer to Microsoft Knowledge base article 810886.  Hosting on a UNC share is not supported for the Windows XP Platform.

I checked out the article which tells you to check some registry setting.  I have the right folders to the registry but the ones they want changed do not exist on my computer.  Should I add them or what should I do to fix this problem so my website will run.  Help!
vb9666Asked:
Who is Participating?
 
vb9666Connect With a Mentor Author Commented:
Can someone close this question?  I have resolved this issue.  I found a post online that had me change a registry setting FCNMode under ASP.NET.
0
 
Mohamed OsamaSenior IT ConsultantCommented:
I would say add the registry keys if they do not exist first & let us see if the problem persists.
0
 
vb9666Author Commented:
I added the registry settings and it still gives me the same error.
0
Cloud Class® Course: CompTIA Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

 
vb9666Author Commented:
This has something to do with my website being saved on a network drive.  I copied everything to my computers hard drive and now it runs fine without an error.  Any suggestions on how to get this to work on the network path?
0
 
Mohamed OsamaSenior IT ConsultantCommented:
you will need to let .NET trust the assemblies of this web application or the UNC path
HOW TO: Change the Trust Level for a .NET Framework Assembly
http://www.velocityreviews.com/forums/t81845-help-could-not-load-type-error.html
can be done from command line as below
http://msdn.microsoft.com/en-us/library/cb6t8dtz.aspx
0
 
vb9666Author Commented:
I can't get this trust assembly set up because I do not have a DLL file because I have not been able to build the project due to the error i keep getting.  Any more suggestions?
0
 
Mohamed OsamaSenior IT ConsultantCommented:
>>I copied everything to my computers hard drive and now it runs fine without an error
I thought it is building now without issues ?
also please confirm that the registry settings in the above KB article were applied on the Server where the UNC path is located , not on the client machine.
0
 
vb9666Author Commented:
The registry settings were applied on the Server but I'm still getting the error about the UNC path.  I can build my project saved on my computer but I do not get DLL file??  I have tried Publish web site as well but nothing produces a dll.
0
 
vb9666Author Commented:
I just located the DLL under C:\Documents and Settings\myLogin\My Documents\Visual Studio
2005\Projects\MyProj.com\PrecompiledWeb\Bin but I can even get that dll to be trusted assembly.  I get an error message with every DLL I try...

Trust an Assembly
Application attempted to perform an operation not allowed by the security policy.  To grant this application the required permission, contact your system administrator, or use the Microsoft .NET Framework Configuration tool.
0
 
vb9666Author Commented:
A network computer and another personal PC will Trust this assembly but mine produces the message I posted above.  Any suggestions on why it won't work on my pc?
0
 
vb9666Author Commented:
I was finally able to get it to add the trusted assembly but because I had to borrow the DLL from another compiled project and renamed it still doesn't work.  How do I get it to compile?  And how come the bin folder is not on the network drive instead of my local computer?  Am I supposed to trust to the path on my local computer or create a bin folder on the network drive and copy the dll there??
0
 
Mohamed OsamaSenior IT ConsultantCommented:
if this is Visual studio 2008, I think you may have hit a bug , that has a workaround, make sure Service pack1 for VS2008 is installed
http://blogs.conchango.com/jamesdawson/archive/2008/06/03/using-linked-files-with-web-application-projects.aspx
https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=348886
0
 
vb9666Author Commented:
I'm using VS 2005.
0
 
vb9666Author Commented:
This has something to do with the file size of my project.  If I delete the folder that contains all the PDF documents that are linked on my website (137 MB) then my website will run.  Does anyone have any other suggestions on how to fix this.  I really need to keep this project on a network drive and I need the folder that contains all my documents!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.