|
Hi,
Can anyone recommend me a book to read about the use of IIS with asp.net, and how they interact with each other. Thanks
hawari
hawari
|
|
|
|
|
|
Hi,
Which one is done before, publishing the database or copy website, is copy website alone enough to complete the deployment?
regards,
hawari
|
|
|
|
|
Thoguh main objective are same for those, there are hugh different between copy web sites and Publish. Those are used to based on specific situations.
Please Read This Article[^]
This is clear your doubts.
ahawari09 wrote: is copy website alone enough to complete the deployment?
Yes !! It can !!! But based on situation.
cheers,
Abhijit
|
|
|
|
|
|
i m new to asp .net i have a gridview bind to a session["total"] there is one grandtotal field and one link button. on the link button clientclick a new pop window appear where data is bind to datalist . check box is for to select in which text box he want to enter data i want these total he enter in any number of text box back into the first from which this popwindow was called and add these total to grandtotal of that row .
i m also sending the id as a querystring
amirzada
|
|
|
|
|
Then, What is your problem ?
cheers,
Abhijit
|
|
|
|
|
i want these total values the one enter in the text box and display it in the parent page.....
i don't have any idea how to access a spesific page as here is the parent page.
amirzada
|
|
|
|
|
use
var txt.value=window.opener.formName.ControlId
Like this
|
|
|
|
|
I was using sql server 2005 on my asp.net application and everything was going right , until i installed sql server 2008 ( both express edition ) , and now i get
Exception Details: System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified).
my connection string is
<add name="SQLManageStationsConnectionString1" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\SQLManageStations.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True" providerName="System.Data.SqlClient"/>
is it about the system.data.dll or something ? what can i do ?
|
|
|
|
|
Are you access database from local system or Your Web Server? and from where your accessing application ?
cheers,
Abhijit
|
|
|
|
|
i'm running it on my localhost , and testing it from here too .
|
|
|
|
|
TerRO_GirL wrote: <add name="SQLManageStationsConnectionString1" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\SQLManageStations.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True" providerName="System.Data.SqlClient"/>
What is the use of provider name. You do not need to mention it . Remove it and try .
cheers,
Abhijit
|
|
|
|
|
Still no succes .
I'm reinstalling sql server 2008 just in case
|
|
|
|
|
i reinstalled it and deleted C:\Documents and Settings\USERNAME\Local Settings\Application Data\Microsoft\Microsoft SQL Server Data\SQLEXPRESS. (there were remaining files from the 2005 edition) and now wordks fine !
Good luck everyone !
|
|
|
|
|
i am using msaccess 2007,to prepare a database to connected to the repeater by using ado.net connection(oledb).but i got an error is Could not find installable ISAM.how to overcome that error .plz redirect solution to my problem.
|
|
|
|
|
|
I am using vs 2005 for websites, I deploy my website and there is a login name and pass when I enter them I get this error message :
System.Data.SqlClient.SqlException: Could not find stored procedure 'dbo.aspnet_CheckSchemaVersion'.
my web.config sql connection is this: This is a godady hosting website
<connectionstring>
<add name="personal" connectionstring="server=p3rw3shsql-v01.shr.prod.phx3.secureserver.net; database= dbname; user ID=myusername; password=mypass; Trusted_Connection=False' providername=" system.data.sqlclient="/><br mode=" hold=" /><br mode=" localsqlserver="/> <add name=" server="p3rw3shsql-v01.shr.prod.phx3.secureserver.net;" database="dbname;" user="" id="myusername;" password="mypass;" trusted_connection="False'" providername="System.data.sqlclient">
<connectionstring>
I will be thank full if you can point were the problem is.
hawari
modified on Friday, November 28, 2008 6:57 AM
|
|
|
|
|
I think you are using Membership or profile or persinalization features using aspnedb database.
If its working fine in local , then are you using the same datbase ?
if not then please run aspnet_regsql command to register all inbuiled tables,proceudre with your database .
So, its only about aspnet_regsql command.
cheers,
Abhijit
|
|
|
|
|
Hi Abhijit,
Thank u for your answer. Is this the right aspnet_regsql.exe -E -S ServerName\SQLEXPRESS -A all. How can I know that I am using the same database?
Best regards,
hawari
hawari
|
|
|
|
|
ahawari09 wrote: Is this the right aspnet_regsql.exe -E -S ServerName\SQLEXPRESS -A all
Command is something like that. You have to choose database name which you are using . then it will do automatically.
Run the command from your .NET Framework folder of you database server system.
ahawari09 wrote: How can I know that I am using the same database?
I didn't get your point ? You should know which datbase server you are using.
cheers,
Abhijit
|
|
|
|
|
I am sorry never mind about that.
regards,
hawari
hawari
|
|
|
|
|
Hi there, i'm greatful if anyone can help me with it.
i'm stuck with this error, trying to get to working but to no avail.
Error 102 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. ...\Web.config 389
i read lots of the posts but the solutions offered there did not resolve my problem.
here is what i've tried.
when i try to build the app it fails with this error.
i copy the app folder in intepub\wwwroot, then in IIS manager convert it to application and set the virtual folder. if i try to browse to it from iis it kind of works but i still get the same error in visual studio and i can debug it.
i have checked the .net version, it's correct.
there is only one web.config
maybe i'm missing something loading the app in visual studio (btw i'm using VS.net 2008, IIS 7, .net framework 2.0 as the application was build with in this version)
many thanks
dakini
|
|
|
|
|
Rather than creating Virtual Directory , Convert it into Application on IIS. For IIS 7 you have do that.
please read My Complete Article
Deploying ASP.NET Web Sites on IIS 7.[^]
cheers,
Abhijit
|
|
|
|
|
I actually did this first, but still the same. i can browse to it from IIS but i can build it without this error in VS.
|
|
|
|