473,395 Members | 1,623 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

System.ApplicationException: The media is write protected

Jen
My ASP.NET/VB.NET web application has been running fine until today.
When I go to the intranet site's start page, I get a "Server Error in
/AppName" error and the text for the error reads "The media is write
protected". This is the first time any of us have seen this error. Our
web application does not interact at all with any kind of media: CD
ROM, Floppy, DVD ROM - none of it. What would cause this type of error
in an ASP.NET/VB.NET web application? Any suggestions on how to
troubleshoot this kind of thing?

Oct 12 '06 #1
4 1606
You should debug the application real time if you can, but its likely to be
just what it says - its trying to access something that it has no rights for
or is unreachable, perhap try lowering your apps trust level and see if it a
trust issue

http://msdn2.microsoft.com/en-us/library/wyts434y.aspx

--
Regards

John Timney (MVP)
VISIT MY WEBSITE:
http://www.johntimney.com
"Jen" <sa*******@hotmail.comwrote in message
news:11**********************@h48g2000cwc.googlegr oups.com...
My ASP.NET/VB.NET web application has been running fine until today.
When I go to the intranet site's start page, I get a "Server Error in
/AppName" error and the text for the error reads "The media is write
protected". This is the first time any of us have seen this error. Our
web application does not interact at all with any kind of media: CD
ROM, Floppy, DVD ROM - none of it. What would cause this type of error
in an ASP.NET/VB.NET web application? Any suggestions on how to
troubleshoot this kind of thing?

Oct 12 '06 #2
Jen
Unfortunately, this is happening in a fielded (production) application
off-site and we are unable to reproduce the error in our development
environment so debugging in real time is not an option. I am assuming
that there is a permissions problem, but I have no idea where to even
start looking.

Oct 13 '06 #3
Jen
We also do not have trust levels set up for our web site.

Oct 13 '06 #4
Then you'll need to insert line by line trace statements in your code to see
where the code is actually getting up to before it falls over.

Regards

John Timney (MVP)
VISIT MY WEBSITE:
http://www.johntimney.com
"Jen" <sa*******@hotmail.comwrote in message
news:11**********************@b28g2000cwb.googlegr oups.com...
Unfortunately, this is happening in a fielded (production) application
off-site and we are unable to reproduce the error in our development
environment so debugging in real time is not an option. I am assuming
that there is a permissions problem, but I have no idea where to even
start looking.

Oct 13 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Steve Bottoms | last post by:
Is there any way to pass a login name/password when calling System.Web.Mail.SMTPMail? Can't find anything in the docs or KB... If not, any suggestions to get this functionality short of building...
9
by: Morris Neuman | last post by:
Im working with VS 2005 and trying to use a Hyperlink field in a datagrid to play a wave file that is not located in the website folders but is in a plain folder on the same machine, windows 2003...
1
by: bugnthecode | last post by:
Hi, I am trying to put together a small app that uses one of my company's web service. Originally I interfaced with this web service using java, and have the example code. I believe the web...
4
by: yogarajan | last post by:
hi i had developed pop3 Account mail view in my web page but i got error in (System.NullReference Exception: Object reference not set) NetStrm.Write(szData, 0, szData.Length); - this line ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.