473,385 Members | 1,587 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,385 software developers and data experts.

.NET 1.1 errors

Hi I have a application that keeps crashing on me here are one of the logs any have any idea how to stop this from happening

************** Exception Text **************
System.UnauthorizedAccessException: Access to the path "C:\XSite Pro\Sites\78\59\Smoking.HTML" is denied.
At System.IO.__Error.WinIOError(Int32 errorCode, String str)
At System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean useAsync, String msgPath, Boolean bFromProxy)
At System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)
At System.IO.StreamWriter.CreateFile(String path, Boolean append)
At System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize)
At System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding)
At Sol.XSPUtil.SolPageGeneration.writeToFileAndFix(St ring path, String text) in c:\documents and settings\administrator\my documents\visual studio projects\Sol.sitegenerator\Sol.xsputil\solpagegene ration.cs:line 1998
At Sol.XSPUtil.SolPageGeneration.generatePage(SolDBWe bPage page, String path, Boolean isPreview, Boolean includeUnfinishedPages, Boolean includeNonLiveSites) in c:\documents and settings\administrator\my documents\visual studio projects\Sol.sitegenerator\Sol.xsputil\solpagegene ration.cs:line 1944
At Sol.XSPUtil.SolPageGeneration.generateWebsitePages (SolDBWebSite S, ArrayList projects, Boolean includeUnfinishedPages, Boolean includeNonLiveSites, Int32 totalPercent, Int32 projectPercent, Boolean isPreview, Boolean& cancelled, String outputDir, Boolean deleteExisting, String msgPre) in c:\documents and settings\administrator\my documents\visual studio projects\Sol.sitegenerator\Sol.xsputil\solpagegene ration.cs:line 252
At Sol.XSPUtil.SolPageGeneration.generateWebsitePages (SolDBWebSite S, ArrayList projects, Boolean includeUnfinishedPages, Boolean includeNonLiveSites, Int32 totalPercent, Int32 projectPercent, Boolean isPreview, Boolean& cancelled, String msgPre) in c:\documents and settings\administrator\my documents\visual studio projects\Sol.sitegenerator\Sol.xsputil\solpagegene ration.cs:line 165
At Sol.XSitePro.uc_Website.Save(Boolean forPreview) in C:\Documents and Settings\Administrator\My Documents\Visual Studio Projects\Sol.SiteGenerator\uc_Website.cs:line 1269
At Sol.XSitePro.frmMain.cmdSave_Click(Object sender, EventArgs e) in c:\documents and settings\administrator\my documents\visual studio projects\Sol.sitegenerator\frmmain.cs:line 2400
At System.Windows.Forms.Control.OnClick(EventArgs e)
At System.Windows.Forms.Button.OnClick(EventArgs e)
At System.Windows.Forms.Button.OnMouseUp(MouseEventAr gs mevent)
At System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
At System.Windows.Forms.Control.WndProc(Message& m)
At System.Windows.Forms.ButtonBase.WndProc(Message& m)
At System.Windows.Forms.Button.WndProc(Message& m)
At System.Windows.Forms.ControlNativeWindow.OnMessage (Message& m)
At System.Windows.Forms.ControlNativeWindow.WndProc(M essage& m)
At System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 MSG, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
Mscorlib
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/winnt/Microsoft.net/framework/v1.1.4322/mscorlib.DLL
----------------------------------------
XSitePro
Assembly Version: 1.56.2623.20005
Win32 Version: 1.56.2623.20005
CodeBase: file:///C:/XSite%20Pro/XSitePro.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/winnt/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.DLL
----------------------------------------
System
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/winnt/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.DLL
----------------------------------------
Sol.XSPData
Assembly Version: 1.56.2623.19994
Win32 Version: 1.56.2623.19994
CodeBase: file:///C:/XSite%20Pro/Sol.XSPData.DLL
----------------------------------------
Sol.XSPUtil
Assembly Version: 1.56.2623.19996
Win32 Version: 1.56.2623.19996
CodeBase: file:///C:/XSite%20Pro/Sol.XSPUtil.DLL
----------------------------------------
Skybound.VisualStyles
Assembly Version: 1.0.5.5
Win32 Version: 1.0.5.5
CodeBase: file:///C:/XSite%20Pro/Skybound.VisualStyles.DLL
----------------------------------------
System.Drawing
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/winnt/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll
----------------------------------------
System.Data
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/winnt/assembly/gac/system.data/1.0.5000.0__b77a5c561934e089/system.data.dll
----------------------------------------
Sol.ImageMenu
Assembly Version: 1.56.2623.19997
Win32 Version: 1.56.2623.19997
CodeBase: file:///C:/XSite%20Pro/Sol.ImageMenu.DLL
----------------------------------------
Sol.XSPHtmlEdit
Assembly Version: 1.56.2623.20000
Win32 Version: 1.56.2623.20000
CodeBase: file:///C:/XSite%20Pro/Sol.XSPHtmlEdit.DLL
----------------------------------------
AxInterop.SHDocVw
Assembly Version: 1.1.0.0
Win32 Version: 1.1.0.0
CodeBase: file:///C:/XSite%20Pro/AxInterop.SHDocVw.DLL
----------------------------------------
Interop.SHDocVw
Assembly Version: 1.1.0.0
Win32 Version: 1.1.0.0
CodeBase: file:///C:/XSite%20Pro/Interop.SHDocVw.DLL
----------------------------------------
Accessibility
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/winnt/assembly/gac/accessibility/1.0.5000.0__b03f5f7f11d50a3a/accessibility.dll
----------------------------------------
Sol.TreeListView
Assembly Version: 1.56.2623.19995
Win32 Version: 1.56.2623.19995
CodeBase: file:///C:/XSite%20Pro/Sol.TreeListView.DLL
----------------------------------------
System.Web
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/winnt/assembly/gac/system.web/1.0.5000.0__b03f5f7f11d50a3a/system.web.dll
----------------------------------------
Microsoft.mshtml
Assembly Version: 7.0.3300.0
Win32 Version: 7.0.3300.0
CodeBase: file:///C:/XSite%20Pro/Microsoft.mshtml.DLL
----------------------------------------
Keyoti.RapidSpell
Assembly Version: 3.5.0.34068
Win32 Version: 3.5.0.34068
CodeBase: file:///C:/XSite%20Pro/Keyoti.RapidSpell.DLL
----------------------------------------
pinEditWinFormControl
Assembly Version: 3.5.0.21307
Win32 Version: 3.5.0.21307
CodeBase: file:///C:/XSite%20Pro/pinEditWinFormControl.DLL
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 7.0.5000.0
Win32 Version: 7.10.3052.4
CodeBase: file:///c:/winnt/assembly/gac/microsoft.visualbasic/7.0.5000.0__b03f5f7f11d50a3a/microsoft.visualbasic.dll
----------------------------------------
CustomMarshalers
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/winnt/assembly/gac/custommarshalers/1.0.5000.0__b03f5f7f11d50a3a/custommarshalers.dll
----------------------------------------

************** JIT Debugging **************
To enable just in time (JIT) debugging, the config file for this
application or machine (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the machine
rather than being handled by this dialog.
Jun 8 '07 #1
3 1579
TRScheel
638 Expert 512MB
You're error is because you (or rather, your program) do not have permission to write to that folder.

Some fixes:

1) Use a try / catch loop on all streams

2) Request permission before you write to some random folder on the C: drive

3) It is bad coding practice to write to some random folder on the C: drive, write to the user's folder instead. If something really needs to be globally written, refer to number 2. Also, keep your apps in the program files folder as well.
**NOTE** if it is a simple setting that is being globally changed, perhaps you should use a registry key
Jun 8 '07 #2
Hi sorry im not a programmer just a user who has this program and has these problems, what do I need to do in order to stop this happening, because im lost.
Jun 8 '07 #3
Hi sorry im not a programmer just a user who has this program and has these problems, what do I need to do in order to stop this happening, because im lost.

If you are not a programmer, then getting a hold of the developer who built this application would probably be the best idea since any "steps" to fixing that will most likely (definitely) involve programming.

good luck
Jun 8 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

11
by: mikey_boy | last post by:
Hello! Curious if anyone could give me a hand. I wrote this PHP script with makes a simple connection to a mysql database called firstdb and just pulls back the results and displays on the...
2
by: Trev | last post by:
SQL Server 2000 BE, Access 2002 FE. I want to write a stored procedure, that will among other things log errors to a table, I want to be able to report a summary of work done and errors to the...
10
by: Douglas Buchanan | last post by:
I am using the following code instead of a very lengthly select case statement. (I have a lot of lookup tables in a settings form that are selected from a ListBox. The data adapters are given a...
0
by: doli | last post by:
Hi, I have the following piece of code which iterates through the potential errors: i =0 For Each error_item in myConn.Errors DTSPackageLog.WriteStringToLog myConn.Errors(i).Description...
4
by: johnb41 | last post by:
I have a form with a bunch of textboxes. Each text box gets validated with the ErrorProvider. I want the form to process something ONLY when all the textboxes are valid. I found a solution,...
2
by: Samuel R. Neff | last post by:
Within the past few weeks we've been getting a lot of compiler errors in two classes when no errors actually exist. The error always reports as Name '_stepResizeRelocator' is not declared. ...
24
by: pat | last post by:
Hi everyone, I've got an exam in c++ in two days and one of the past questions is as follows. Identify 6 syntax and 2 possible runtime errors in this code: class demo {
8
by: ImOk | last post by:
I just have a question about trapping and retrying errors especially file locking or database locks or duplicate key errors. Is there a way after you trap an error to retry the same line that...
0
by: clemrock | last post by:
Help w/ errors.add_to_base between controller and model Hello, I'm having trouble in routing some errors between model and controller. The errors produced in the controller...
2
by: =?Utf-8?B?UmFuZHlz?= | last post by:
This just started when I updated to sp 1 working on a APS.net, Visual Studio 2008, c# Project. When I open a project, I get tons of Errors showing in the list 300+ if I double click on them I go...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...

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.