Solved

Website will not start - UNC share problem

Posted on 2009-05-13
14
400 Views
Last Modified: 2013-11-26
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!
0
Comment
Question by:vb9666
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 10
  • 4
14 Comments
 
LVL 23

Expert Comment

by:Mohamed Osama
ID: 24379259
I would say add the registry keys if they do not exist first & let us see if the problem persists.
0
 

Author Comment

by:vb9666
ID: 24384127
I added the registry settings and it still gives me the same error.
0
 

Author Comment

by:vb9666
ID: 24388485
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
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
LVL 23

Expert Comment

by:Mohamed Osama
ID: 24388984
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
 

Author Comment

by:vb9666
ID: 24421747
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
 
LVL 23

Expert Comment

by:Mohamed Osama
ID: 24425714
>>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
 

Author Comment

by:vb9666
ID: 24482829
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
 

Author Comment

by:vb9666
ID: 24484205
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
 

Author Comment

by:vb9666
ID: 24484833
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
 

Author Comment

by:vb9666
ID: 24485915
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
 
LVL 23

Expert Comment

by:Mohamed Osama
ID: 24490051
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
 

Author Comment

by:vb9666
ID: 24492174
I'm using VS 2005.
0
 

Author Comment

by:vb9666
ID: 24905325
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
 

Accepted Solution

by:
vb9666 earned 0 total points
ID: 25032355
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

Featured Post

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

617 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question