Access denied error with upload script 2 - Posted (4459 Views)
Junior Member
Torborg
Posts: 109
109
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
 Sort direction, for dates DESC means newest first  
 Page size 
Posted
Snitz Forums Admin
ruirib
Posts: 26364
26364
Seems a problem opening the connection to the database... Any changes on passwords or id, or any other connection details?
Posted
Junior Member
Torborg
Posts: 109
109
I haven't done any changes. The site was down for a half a day before this. Kiwihosting says they haven't done anyting.
Posted
Snitz Forums Admin
ruirib
Posts: 26364
26364
Unspecified error, sounds like a server error. Tell the host about that error, they likely will do something to sort it.
Posted
Junior Member
Torborg
Posts: 109
109
Thanks, ruribsmile
Posted
Junior Member
Torborg
Posts: 109
109
Must have been the server. Works nowsmile
Posted
Snitz Forums Admin
ruirib
Posts: 26364
26364
Yep, it's always the server with an error message like that smile.
 
You Must enter a message