|
Any one can please help me...
i have medium trust level for our dot net application from hosting. I am using the connection string as :
"Provider=SQLOLEDB;User ID=user1;Password=****; Data Source=;Initial Catalog=mynewdb"
I am getting error as :
Security Exception
Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.
Exception Details: System.Security.SecurityException: Request for the permission of type 'System.Data.OleDb.OleDbPermission, System.Data, Version=2.0.0.0, Culture=neutral, failed.
do I need to change provider or what in the connection string, please suggest.
Thanks in advance
DAsh04
|
|
|
|
|
This seems like u dont have permission to connect to database. contact ur DBA
Anand Desai
Developer
Atharva Infotech
|
|
|
|
|
thanks for reply, but it is not the case, i have permission. it is related with medium trust level security.
DAsh04
|
|
|
|
|
Hi,
I have a Question?
I have to maintain the State of the Griedview(which contain lot of Controls like as RadioButton,CheckBox Etc) between Multiple Page in Asp.net. So if AnyBody Have the Solution Then Please Help Me.
|
|
|
|
|
|
Thats the most stupid thing I have ever heard.
Can you please explain again?
|
|
|
|
|
Hi,
I am getting the following errors when i attempt to run my application. please any suggestions.
Server Error in '/ShoppingCart' Application.
Cannot open database requested in login 'ShoppingCartData'. Login fails.
Login failed for user 'sa'.
|
|
|
|
|
U might be on client system. check connection between ur SQL server service computer and ur client machine. That might be Remote connection or LAN
Anand Desai
Developer
Atharva Infotech
|
|
|
|
|
Please trouble shoot with the following steps.
1. check your connection string.
2. Make sure you are connected to Internet if your database is on a remote server.
3. In your connection string make sure that you are providing the correct password for user sa.
4. Make sure that user sa has rights to connect to that database.
Ahsan Ullah
Senior Software Engineer
|
|
|
|
|
Actually i downloaded a small shopping cart project.Along with that project a database file is also included when i attempted to run my application then the above mentioned error comes..can anybody tell how to configure that database file to my project.
|
|
|
|
|
Hi,
Do anyone knows how to change from one authentication method to another
Do not forget to tune the Performance
Sudhir Yadav
|
|
|
|
|
|
This was you can say a little bit of that.
I would like to know how can i make use of Http Modules for the same.??
Do not forget to tune the Performance
Sudhir Yadav
|
|
|
|
|
How to make ajax function work in IIS 7.0 any change need in web.config i did like this its not working.
<system.webServer>
<!--<pages enableSessionState="true"></pages>-->
<handlers>
<add name="WebResource" path="WebResource.axd" verb="GET" type="System.Web.Handlers.AssemblyResourceLoader" />
<add name="AjaxHandler" path="ajax/*.ashx" verb="POST,GET" type="Ajax.PageHandlerFactory" />
<add name="PageHandlerFactory-Integrated" path="*.aspx" verb="GET,HEAD,POST,DEBUG" type="System.Web.UI.PageHandlerFactory" />
</handlers>
You get the best out of others when you give the best of yourself.
|
|
|
|
|
Hi guys i have used Javascript calendar in my form,
When ever i click the image of calender its popup and after click date its appearing into my textbox...,
Now same thing i have did in Gridview footer template column and Edittemplate column...,
Here its getting popop, but if i select the date its not appearing in to that textbox.
This is my script...,
<script language="javascript" type="text/javascript">
var basicCal = new calendar("FIELD:document.form1.txtFDOB");
basicCal.writeCalendar();
</script>
Whats wrong in that?,
Thanks & Regards,
NeW OnE,
please don't forget to vote on the post
|
|
|
|
|
Hi,
I am a WinForms develpoer and I need to develop a web application.
What is the fastest way to do so? Is it possible to migrate from WinForms to Web?
I would appreciate any help.
|
|
|
|
|
Hi Ben,
I dont think its posible to do so, but if you are working in layered format such as data layer seperated and the business layer seperated, there is a posibility of getting them to the web solution and instead of the win forms you have to develop your own web forms.
Thx,
Gayani
|
|
|
|
|
For Addapter and Bunisess Logic layer you don not need to any change , but you have to design all pages according to your application.
cheers,
Abhijit
|
|
|
|
|
hai friends
i wanna convert some datas from an asp file to the pdf format how can i do that.
thanx in advance
|
|
|
|
|
|
Hi friends,
I have created a popup window using javascript.I like to make it modal (i,e)I must be able to close the paraent window only after closing the popup window.Is it possible to do so if yes then how?
Thanks In Advance,
praveen
|
|
|
|
|
|
thanks for the reply guys
But iam unable to solve the issue with those links more assistance will be appricated.
Thanks In Advance,
Praveen.
|
|
|
|
|
Hi all,
I am a new learner of ASP.NET, i trying to learning by creating project, basicly the project is really simple it only content a few aspx files, but there is no login form
when i run it, it running ok but when i publish to the web and browsing it, there error that frustrating me, i want this everybody could browse the web without have to login first, couse is only gives information, but i got this error
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.
Source Error:
Line 54: ASP.NET to identify an incoming user.
Line 55: -->
Line 56: <authentication mode="None">
Line 57:
|
|
|
|
|
Hi Abbas,
Lets try to do this once more in a simple manner. I think the problem is in setting up the site.
1). Right click on your solution and publish it to a new folder, could be any location.
2). Now go to IIS and create a virtual directry and set the LocalPath to the new folder you created.
3). In IIS in the ASP.NET tab for ASP.NET version select 2.0 (If you are working in that version)
4). In IIS go to Documents tab and add your detault page and make it to top.
5). In IIS go to directry security and go to Edit and at the bottom there is a check box "Integrated Windows Authentication" make it checked true.
6). And OK it.
Now browse the site and see..
Hope it helps,
Thx,
Gayani
|
|
|
|