Greetings everyone!
First of all, please excuse me if this is not the appropriate forum, or if this post is not complete with debug information. I'm a PHP programmer, and not used with .NET at all, but I have a project to debug a companys administrative part of their website.
Here comes the error message:
Server Error in '/' Application.
Could not delete from specified tables.
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: Could not delete from specified tables.
Source Error:
Code:
Line 22: //oDel.DeletePictures();
Line 23:
Line 24: Offer.Del(Convert.ToInt32(Request.QueryString["ID"]));
Line 25: Response.Redirect("~/admin/ErbjudandeEdit.aspx?action=view");
Line 26: }
Source File: d:\customers\njutagotland.se\wwwroot\admin\uc\Offe rs.ascx.cs Line: 24
Stack Trace:
Code:
[OleDbException (0x80004005): Could not delete from specified tables.]
Microsoft.VisualBasic.CompilerServices.Container.InvokeMethod(Method TargetProcedure, Object[] Arguments, Boolean[] CopyBack, BindingFlags Flags) +202
Microsoft.VisualBasic.CompilerServices.NewLateBinding.CallMethod(Container BaseReference, String MethodName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack, BindingFlags InvocationFlags, Boolean ReportErrors, ResolutionFailure& Failure) +150
Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateCall(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack, Boolean IgnoreReturn) +178
Mecs.DataAccess.DB.Exec(String execString) +93
Mecs.BaseObject`1.Del(T objBaseObject) +80
Mecs.BaseObject`1.Del(Int32 Pk1Val) +130
admin_uc_Offers.Page_Load(Object sender, EventArgs e) in d:\customers\njutagotland.se\wwwroot\admin\uc\Offers.ascx.cs:24
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +50
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
The company have a similar website up and running already, they were launching a similar project on another location so I basicly just copied the website and put it on the new server. First it didn't work, so I edited a "web.config" file and set some paths etc to the new ones, so the website and database worked fine in front-end mode (read). What does not work is the administrative part. I can't add, edit or delete partners/news/etc. Since read is standard, but edit is not I figured I need to set some privileges/rights.
What I know of .NET is that it uses tons of files and files only. The database is a .mdb (Microsoft Access?), so my suggestion is that the server does not allow the script to edit the database file. Could anyone help me please?
PS. If you need any further information, please let me know.
* I forgot to add, if I'm right above, is it possible to fix this without having server access? I only have FTP access, already tried to chmod the database files with no success.
Kind Regards,
Andreas.