|
You really think that an employer won't work out that you have no idea about ASP.NET and just used 'dumps' to cheat on the exams ? This is why exams are useless.
Christian Graus
Driven to the arms of OSX by Vista.
Please read this[ ^] if you don't like the answer I gave to your question.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
|
|
|
|
|
Hello,
I am working with ASP.net 2008.
I am using Users, Membership, roles through Website->ASP.NET configuration menu. I would like to use it while is pointing to an external database not the local one. How do I tell him to use external SQL server database. I have already add the database through aspnet_regsql.exe.
Thank you
Eric H.
|
|
|
|
|
By Default ASP.NET stored membership information in local database. If you want to store it in remote database you have to add the database using aspnet_regsql.exe command.As You have already add the database, you are now one step ahead. Just do the following entry in web.config.
In the ConnectionStrings section of the web.config add the new ConnectionString for the new Database
<add
name="MemberShipConnectionString"
connectionString="Data Source=ServerName;Initial Catalog=myDB;Integrated Security=True"
providerName="System.Data.SqlClient"/>
In the Membership section of the web.config, give the same connection string the you have added for new database
<membership>
<providers>
<add
connectionStringName="MemberShipConnectionString"
applicationName="/"
name="MembershipProvider"
type="System.Web.Security.SqlMembershipProvider"
.......
/>
</providers>
</membership>
Hope this will help you.
|
|
|
|
|
Thank you for your precious help, it works
Eric H.
|
|
|
|
|
Hi all, i am trying to open an access application found on a server using System.Diagnostics.Process.Start(path). it works fine when i run the project from VS2008 but when i deploy it doesnt work. Any ideas
|
|
|
|
|
samerh wrote: i am trying to open an access application found on a server using System.Diagnostics.Process.Start(path).
So you want to open access application on you Server. Process will start process only on your server, not in the client system.
samerh wrote: it works fine when i run the project from VS2008 but when i deploy it doesnt work. Any ideas
What does not work? What error are you getting ? Is there is access permission error ?
|
|
|
|
|
Hi and thanks for your reply,
Abhijit Jana wrote: Process will start process only on your server, not in the client system.
OK fine but i want to open the access application found on the path iam giving. Do u mean i need to use something else that process.start
Abhijit Jana wrote: What does not work? What error are you getting ? Is there is access permission error ?
It gives no error it only shows me busy cursor i waited it for more than 2 minutes then stopped it. i gave the folder containing the access file full control for everyone, aspnet user and networkservices.
The above happened when i put the path as follows: \\192.168.1.167\Bank\App.mdb i have changed it to c:\Bank\App.mdb since the web and access applications are on the same server. When i did that it gave me an error "No application is associated with the specified file for this operation" when i checked the server i found that there is no access installed on it. will installing access solve the issue?
|
|
|
|
|
samerh wrote: Abhijit Jana wrote:
Process will start process only on your server, not in the client system.
OK fine but i want to open the access application found on the path iam giving. Do u mean i need to use something else that process.start
As I already told you Process Will Execute file on server side, so you have to give the file path of Server Only.
samerh wrote: Do u mean i need to use something else that process.start
Can you please put the code block ?
samerh wrote: It gives no error it only shows me busy cursor i waited it for more than 2 minutes then stopped it.
Did you tried to debug it? Where its taking the time ?
|
|
|
|
|
Abhijit Jana wrote: Process Will Execute file on server side, so you have to give the file path of Server Only
This is what i want and what i did. iam using
System.Diagnostics.Process.Start(path)
<blockquote class="FQ"><div class="FQA">Abhijit Jana wrote:</div>Did you tried to debug it? Where its taking the time ? </blockquote>
while debugging it works fine, dont know where it is taking this time. issue only appears when i deploy.
|
|
|
|
|
I have missed out the last part of your previous post. Please check my last reply.
|
|
|
|
|
samerh wrote: When i did that it gave me an error "No application is associated with the specified file for this operation" when i checked the server i found that there is no access installed on it. will installing access solve the issue?
Ohh Sorry, I was missed this section. If you don't have the access in the deployed system you should have to install it. Please install Access on that system.
BTW : Can you please explain me what will you do by opening a access file in server ?
|
|
|
|
|
After installation still giving access denied error.
I have a customer who have an access application and need to open it by clicking a button from the web application.
|
|
|
|
|
So the user is copying the Access application to the server ?
Christian Graus
Driven to the arms of OSX by Vista.
Please read this[ ^] if you don't like the answer I gave to your question.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
|
|
|
|
|
samerh wrote: I have a customer who have an access application and need to open it by clicking a button from the web application.
Its means customer will open Application by clicking on the web application, but You are opening the Access Application on Server, not on the client system, then how will your customer are going to access the application.
|
|
|
|
|
*grin* I was trying to get him to confirm that. If he could confirm it was on the server, and still didn't work out what was going wrong, then he really doesn't deserve to be allowed to use a computer, let alone a compiler.
Christian Graus
Driven to the arms of OSX by Vista.
Please read this[ ^] if you don't like the answer I gave to your question.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
|
|
|
|
|
The basic problem is that you are clueless. What possible reason could you have for wanting to run an Access database, on the server ?
Christian Graus
Driven to the arms of OSX by Vista.
Please read this[ ^] if you don't like the answer I gave to your question.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
|
|
|
|
|
thank you guys.
This is what iam trying to tell you, i dont want to open the access application on the server, i want to open it on the client machine and the user can view some reports from this access application.
Using Process.Start do the job locally but when publishing the application it dont work.
Hope i was clear this time and thanks again
|
|
|
|
|
samerh wrote: dont want to open the access application on the server, i want to open it on the client machine and the user can view some reports from this access application.
That question I have asked you earlier. you can't open application on client using Process. It will run only on server. You can use ActiveX for that. But it will work only on IE.
|
|
|
|
|
samerh wrote: Using Process.Start do the job locally but when publishing the application it dont work.
OK, that's what we expected. You apparently know next to nothing about ASP.NET development. Buy a book and learn some basics before you steal from unsuspecting clients.
The server is the ONLY place that Process.Start can operate. That's ASP.NET 101. Therefore, you can't do what you want. You CAN put a link to the database as a local file inside your webpage, and see if that launches it OK. But, you can't, you absolutely cannot, use Process.Start to start a process on the client machine.
Christian Graus
Driven to the arms of OSX by Vista.
Please read this[ ^] if you don't like the answer I gave to your question.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
|
|
|
|
|
hi all,
i've used url rewrite in my site for example, www.example.com/page?=2 (www.example.com/page2.aspx)
im getting this error when i host my site, this is not occur in localhost,and also this is not occur frequently, so i add in my web.config some tags as follows,
<authentication>
<forms cookieless="UseCookies" slidingexpiration="true" protection="All" <="" forms="">
but same error occuring , so please help me to solve this problem, this is urgent
Thanks
|
|
|
|
|
The error means what it says. You have virtual paths that go above the root.
Christian Graus
Driven to the arms of OSX by Vista.
Please read this[ ^] if you don't like the answer I gave to your question.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
|
|
|
|
|
hi
thx for ur time spend for this, but i know this occur because IIS coudn't find this path that's y this is gives error, bt i need to solve this problem, i tried many ways solve this problem, is there recommended way to solve this
Thanks
|
|
|
|
|
I have an asp.net application (VB.Net, Reporting Services 2005) which includes a report viewer that displays a client-side report. The report displays normally, but the built-in find feature is not working from the report viewer on my webpage. When the report is displayed and I enter a search string in the find textbox and click Find, the report is redisplayed from the beginning, and does not indicate any "found" text. Maybe I wasn't using the right search criteria, but I couldn't find any reference to a problem concerning this.
The Report Viewer settings from the source are:
<rsweb:ReportViewer ID="IHEEView" runat="server" Width="100%" Height="99.3%" Font-Names="Verdana" Font-Size="8pt" ShowParameterPrompts="False" ShowCredentialPrompts="False" ShowDocumentMapButton="False" BorderColor="DimGray" BorderStyle="Solid" BorderWidth="1px" DocumentMapCollapsed="True" SizeToReportContent="True" AsyncRendering="False" ShowPageNavigationControls="False">
<LocalReport ReportPath="IHEEContractor.rdlc">
</LocalReport>
</rsweb:ReportViewer>
.
I am including Microsoft.ReporViewer.Common.dll, Microsoft.ReportViewer.ProcessingObjectModel.dll, and Microsoft.ReportViewer.WebForms.dll, all Version 8.0.0.0 in the bin folder.
This is due ASAP (isn't it always!?)
Help is greatly appreciated.
|
|
|
|
|
I want to maybe get the MCTS: ASP 3.0 or whatever cert. A lot of jobs just say asp.net/vb.net certifications. What can I do to equal the asp.net/vb.net certifications? Is that just covered when I go through the MCTS: ASP.net track? Both the vb.net and ASP.net or do I have to go through both the asp.net and MCTS: Windows presentation blah blah track too?
|
|
|
|
|
Certification is a joke. I would say as much in my interviews. People can buy it without knowing anything. Prove that you know your stuff, that should be all you need to do.
Christian Graus
Driven to the arms of OSX by Vista.
Please read this[ ^] if you don't like the answer I gave to your question.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
|
|
|
|