PDA

View Full Version : خطای Opearation must use an updateable query



nimnegah
شنبه 17 آذر 1386, 20:06 عصر
سلام
من یک وب سایت که با ASP.NET 2 نوشته شده رو آپلود کردم و در ضمن بانک من اکسس هست
الان همه لینکها کار میکنن ولی در ارتباط با بانک مشکل دارم و خطای زیر میده ( در ضمن من یک کانکشن در هاستم ایجاد کردم و با موفقیت کانکت شد. بانک خودمو تو پوشه App_Data کپی کردم --- راستی در حالت Local مشکلی ندارم) ممنون میشم اگه کمکم کنید


کنترل پنل هم Plesk
این هم محتویات فایل Web.config

<?xml version="1.0"?>
<!--
Note: As an alternative to hand editing this file you can use the
web admin tool to configure settings for your application. Use
the Website->Asp.Net Configuration option in Visual Studio.
A full list of settings and comments can be found in
machine.config.comments usually located in
\Windows\Microsoft.Net\Framework\v2.x\Config
-->
<configuration>

<connectionStrings>
<add name="dataConnectionString" connectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|DataDirectory|\data.mdb"
providerName="System.Data.OleDb" />
</connectionStrings>
<appSettings/>

<system.web>
<!--
Set compilation debug="true" to insert debugging
symbols into the compiled page. Because this
affects performance, set this value to true only
during development.
-->
<compilation debug="false" />
<!--
The <authentication> section enables configuration
of the security authentication mode used by
ASP.NET to identify an incoming user.
-->
<authentication mode="Windows" />
<!--
The <customErrors> section enables configuration
of what to do if/when an unhandled error occurs
during the execution of a request. Specifically,
it enables developers to configure html error pages
to be displayed in place of a error stack trace.
<customErrors mode="Read Only" defaultRedirect="GenericErrorPage.htm">
<error statusCode="403" redirect="NoAccess.htm" />
<error statusCode="404" redirect="FileNotFound.htm" />
</customErrors>

-->
<customErrors mode="Off">
</customErrors>

</system.web>
</configuration>





http://www.sitnet.ir/e/11.jpg

Behrouz_Rad
شنبه 17 آذر 1386, 21:47 عصر
به پوشه ی App_Data مجوز Write بده.

nimnegah
شنبه 17 آذر 1386, 22:51 عصر
میشه لطفا بیشتر توضیح بدین

مجوز Write رو چطوری باید به پوشه بدم از توی هاستم که نمی تونم این کارو بکنم

لطفا کمکم کنید
با تشکر

Behrouz_Rad
شنبه 17 آذر 1386, 23:03 عصر
از طریق Control Panel سایتت که هاست در اختیارت قرار داده.

nimnegah
شنبه 17 آذر 1386, 23:42 عصر
با تشکر از راهنمایی شما

مشکل من حل شد