473,568 Members | 2,795 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Installing ASP.Net SQL Session State on IIS7

I have found to configure ASP.Net on IIS7 to use SQL Session State you
need to run aspnet_regsql.e xe
Looking at the help file it appears that the connection string would
need permissions to create a database and objects on the server.

How can you create the SQL Session State database and then use a
different account for ASP.Net to use to add/maintain the session state
information within it?
Oct 22 '08 #1
1 4057
yes. but you can create the database first if you want and use any name. you
may need to add the aspnet user.

you can also create the database in dev, and reverse engineer it with sql
workbench or a vs database project and create your own deploy scripts.
-- bruce (sqlwork.com)
"Robin9876" wrote:
I have found to configure ASP.Net on IIS7 to use SQL Session State you
need to run aspnet_regsql.e xe
Looking at the help file it appears that the connection string would
need permissions to create a database and objects on the server.

How can you create the SQL Session State database and then use a
different account for ASP.Net to use to add/maintain the session state
information within it?
Oct 22 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
2521
by: Wayne Shen | last post by:
Hi Guys Today I installed Windows SharePoint Service and BizTalk Server 2004, then I found that my previous web application does not work. So I debugged the application, and the ASP.Net Session is disabled (HttpContext.Current.Session is null) Did any of you experience this same problem? How could I resolve it Thank you very much Wayne
0
1161
by: Beve Lyni | last post by:
I am running an asp.net project on my localhost and using state server as state management, it has the following code in web.config <sessionState mode="StateServer" stateConnectionString="tcpip=MyMachineName:42424" timeout="20" cookieless="false" /> It had been working fine until I installed Microsoft .Net Framework 1.1 SP1 (and Windows...
8
2247
by: Beve Lyni | last post by:
I am running an asp.net project on my localhost and using state server as state management, it has the following code in web.config <sessionState mode="StateServer" stateConnectionString="tcpip=MyMachineName:42424" timeout="20" cookieless="false" /> It had been working fine until I installed Microsoft .Net Framework 1.1 SP1 (and Windows...
8
7474
by: Darwiniv | last post by:
1. Does anyone run ASAPI and mysql succesfully on Vista /IIS7? 2. Does anyone run CGI and display all SESSION errors on Vista /IIS7? php ASAPI doesn't works with MYSQL. And CGI doesn't show any SESSION error message. PHP had so much bugs on windows vista. I using php-5.2.1-Win32
11
3626
by: Glenn | last post by:
Hi I've been experimenting with managing state using the Session object. I've created a simple WS with a couple of methods, one which sets a string value, another that retrieves it. Each method has the WebMethodAttribute.EnableSession set to true. When I run the test page the session is maintained. However, using a console...
0
1161
by: =?Utf-8?B?VmlsaGVsbQ==?= | last post by:
Using .NET 2.0 and VS2005, I am trying to make a simple WebService application and an installer for it. I want to distribute the installer to several customers, so the installation should run as smooth as possible. When trying to install it on Vista, I get a generic errormessage: "Installation incomlete. The installer was interrupted...
5
2662
by: =?Utf-8?B?bXVzb3NkZXY=?= | last post by:
Hi, I wonder if someone could shed some light on this one for me. I have developed a web app in VS2005 with the built in server. It uses an sql database, everytihng works. I need to test it across the network, so i've installed IIS7 on my Vista machine and created a new website, point at the website's directory. After I switched to the...
6
9623
by: ma | last post by:
Hello, I am new to IIS and ASP.NET. I wrote my first ASP.NET and I want to deploy in to a system which has Vista Business and IIS7. I copied my files to the target computer and created a virtual directory. I add default.aspx to the list of default pages for the virtual directory. My problems are: 1- On vista computer I am trying to...
3
4989
by: dihola | last post by:
Hi, I have a website running in IIS7 and it seems to be creating a new session for every request I make. The values I store in Session are lost with every request. This is the forms bit in my web.config: <authentication mode="Forms"> <forms name=".ReMaCRM" loginUrl="~/Login.aspx" defaultUrl="~/Default.aspx"...
0
7693
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7604
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8117
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7660
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7962
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5498
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3631
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2101
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1207
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.