Access denied error with upload script 2

Snitz™ Forums 2000
https://forum.snitz.com/forumTopic/Posts/68630?pagenum=1
04 November 2025, 19:05

Topic


Torborg
Access denied error with upload script 2
10 May 2009, 17:46


Im using Dayve's Photo album on www.botaniskforening.no/forum/.
It has worked well on this site. But two days ago we where not able to upload pictures. I dont understand where to start to look..
I get this error:

Unspecified error
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Data.OleDb.OleDbException: Unspecified error

Source Error:


Line 175: conImages = new OleDbConnection(myConnString);
Line 176: cmdImgIns = new OleDbCommand(strSQL, conImages);
Line 177: conImages.Open();
Line 178: cmdImgIns.ExecuteNonQuery();
Line 179: cmdImgIns.CommandText="SELECT @@IDENTITY As 'Identity';";


Source File: d:\hshome\torborgg\botaniskforening.net\forum\pop_upload.aspx Line: 177

Stack Trace:


[OleDbException (0x80004005): Unspecified error] System.Data.OleDb.OleDbConnection.ProcessResults(Int32 hr) +20
System.Data.OleDb.OleDbConnection.InitializeProvider() +57
System.Data.OleDb.OleDbConnection.Open() +203
ASP.pop_upload_aspx.SendToDB(String MemberID, String FilePath, String UploadedFileName, String UploadedDesc, Int32 IntFileSize, Int32 IntFileHeight, Int32 IntFileWidth, String FileType) in d:\hshome\torborgg\botaniskforening.net\forum\pop_upload.aspx:177
ASP.pop_upload_aspx.UploadBut_Click(Object sender, EventArgs args) in d:\hshome\torborgg\botaniskforening.net\forum\pop_upload.aspx:44
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +108
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +57
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +18
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain() +1292




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032

 

Replies ...


ruirib
10 May 2009, 17:49


Seems a problem opening the connection to the database... Any changes on passwords or id, or any other connection details?
Torborg
10 May 2009, 17:55


I haven't done any changes. The site was down for a half a day before this. Kiwihosting says they haven't done anyting.
ruirib
10 May 2009, 18:21


Unspecified error, sounds like a server error. Tell the host about that error, they likely will do something to sort it.
Torborg
10 May 2009, 18:29


Thanks, ruribsmile
Torborg
13 May 2009, 16:48


Must have been the server. Works nowsmile
ruirib
13 May 2009, 17:18


Yep, it's always the server with an error message like that smile.
© 2000-2021 Snitz™ Communications