Developer Express && Database Issues

Jul 24, 2006

I Am developing a simple app with a database. All has been going fine until now, the following is occuring:

In Visual Web Developer 2005 Express if I connect to the database and view some table data I can do that fine but then as soon as I try to view a page in the browser I get the error:
Login failed for user 'MachineNameASPNET'
If in web developer I go to the database explorer and close the connection to the database then refresh the page it all works fine.

Anyone have anyideas on how to correct this?

Thanks
Scott

View 1 Replies


ADVERTISEMENT

SQL Server Management Studio Express, Database Explorer In Visual Web Developer Express...which To Use???

Apr 16, 2007

When I downloaded/started using Visual Web Developer I was under the impression that I needed to install SQL Server Management Studio Express in order to create/manage databases, and to provide the engine to access the data.
 Since then I have found tutorials and have successfully created/used databases solely from within Visual Web Developer. I'm assuming that Visual Web Developer includes a database engine, much like the webserver that is included. (This is an awesome thing).
 When I tried to upload my web application with database to my production server, the database would not work, it started working after I installed SQL Server Management Studio Express on the server.
 Is it my understanding that you need SQL Server Management Studio Express if you do not have Visual Web Developer Express installed in order to provide the data access engine?
Also, I am unable to "attach" my Visual Web Developer Express created database to SQL Server Management Studio Express. Are there any posts that provide more information about this topic?
 
The only reason I'm asking is that I have extra whitespace on the end of my text fields, and I thought ANSI_PADDING was turned on. I do not see the option in Visual Web Developer Express, but have found it in SQL Server Management Studio Express.

View 14 Replies View Related

Problem Connecting To Sql Express Database From Visual Web Developer Express

Apr 7, 2006

Here is the error message I get:http://img109.imageshack.us/my.php?image=error2ug.jpgI have just installed both packages and havent done much in the way of configuration...  What do i need to do?  Thanks!

View 2 Replies View Related

Why Can't I See My Web Developer Express Database From SQL Server Management Studio Express?

Apr 30, 2006

Hi, I'm completely new to SQL Server and ASP.NET, so please bear with me on my learning curve! I've installed Visual Web Developer Express and SQL Server Express (on the same PC). I then used Web Developer Express to successfully create a new database with a couple of tables in it. So far so good. I then installed SQL Server Management Studio Express on the same PC and tried to connect to my new database. The connection to the SQL Server instance appears to work OK (using Windows Authentication) but I can't see the database I previously created. All I can see are the System Databases. Does anyone know what the solution might be?

View 4 Replies View Related

Import SQL Server Express Database Into Visual Web Developer

Dec 16, 2006

I can access an SQL Server 2005 database from VWD, but for ease of uploading to a server and to maintain the database within just VWD environment would like to import it directly into VWD and its App_Data folder from the local machine SQL Server.
I guess this is more than copy and paste ('especially since this is not allowed becase the database is being used by another program').
I've seen posts about the reverse process but not this way. Any simple pointers please?

View 3 Replies View Related

Started With Express, But Installed Developer And Don't See Developer Instance...

Jun 19, 2006

I can't tell if the SQL Developer install upgraded the service, but left the SqlExpress version information, or if I'm still really only using SqlExpress.

Also, my intended target is SQL Enterprise, so if I am using SQL Express am I asking for trouble when I go to move the database over? Are the database formats compatible?

I've poked around trying to search for this answer for a while and haven't turned anything up. Maybe I'm searching on the wrong terms...

Thanks,
Geoff

View 6 Replies View Related

Does Visual Web Developer Express Edition Works With Ms 2000 Database Service?

Jul 5, 2007

I have made my website using SQL Server Express edition. It is totally database driven and manypages use databases to display data. My problem is that after paying for webhosting fees my web host told me that they do not support SQL Server express edition. Instead they have support for MySQL and Ms Access. Except that there is this MS 2000 Database service for an additional cost. Any recommendations what I should do except changing the host? If I pay for MS 2000 Database servicem, will my website work? My user management(i.e ASPNETDB database) was created by Visual Web developer and I don't want to do user management myself. Any advice?

View 2 Replies View Related

Upgraded Express To Developer Edition Is Not As Easy As Advertised; Error When Adding A Database To Website

Dec 22, 2006

In trying to upgrade my sql express install from express to developer edition, I ended up having to delete all things express from my computer and do a clean install of developer edition (as i installed developer edition initially over sql express but this didnt seem to work;  express edition still appeared in add remove programs etc).  Anyway so i blew away the install and have a clean install of developer edition.  Now when I create a new website in Visual Studio 2005 and try to add a database to the project, it gives me an error stating that i need to have sql server express 2005 installed to function properly...  Do i need to have express AND developer edition of sql installed to do this?  I would think developer edition of sql would enable me this functionality...http://img277.imageshack.us/img277/4228/sqlerrorie2.jpgThanks!It is also worth noting that I get the dreaded remote connection error when trying to connect to a db that I used to be able to connect to when I was using sql express (the aspnetdb database that is created when you user their membership stuff)"An error has occurred while establishing a connection to the server.  When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) "However, I did the following successfully:1. create a database using the sql management studio2. added a table and some data to it3. threw a dataset into the website4. added a gridview to a page in the website, pulling data from the dataset5. and the website runs successfully populating the page with data...fyi: My sql services: http://img158.imageshack.us/img158/2020/sqlserviceshj6.jpg

View 15 Replies View Related

Letting Users Who Visit A Website Add Records To A Sql Server Database Using Visual Studio Web Developer Express Edition 2008

May 5, 2008

in visual studio web developer express edition 2008 i added a new item this was a sql server database which i called test2. I added a table called comments, and the fields name, email, comments, IPAddress, and Date and in my comments.aspx page i added a name textbox, a texbox for email, a textbox for comments and the submit button i double clicked on the submit button and added the following code
 Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click        Dim mydS As New SqlDataSource        mydS.ConnectionString = ConfigurationManager.ConnectionStrings("testConnectionString1").ToString         mydS.InsertCommandType = SqlDataSourceCommandType.Text         mydS.InsertCommand = "INSERT INTO comments(Name,Email,Comments,IPAddress,Date) VALUES (@Name,@Email,@Comments,@IPAddress,@Date)"         mydS.InsertParameters.Add("Name", TextBox1.Text)        mydS.InsertParameters.Add("Email", TextBox2.Text)        mydS.InsertParameters.Add("Comments", TextBox3.Text)        mydS.InsertParameters.Add("Date", Date.Now)        mydS.InsertParameters.Add("IPAddress", Request.Params("REMOTE_ADDR"))         Dim rowsaffected As Int16 = 0        Try            rowsaffected = mydS.Insert        Catch ex As Exception            Server.Transfer("errors.aspx")        Finally            mydS = Nothing        End Try        If rowsaffected <> 1 Then            Server.Transfer("errors.aspx")        Else            Server.Transfer("confirm.aspx")        End If    End Sub     Protected Sub TextBox1_TextChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged     End Sub but when i run it it gives me a problem with this line mydS.ConnectionString = ConfigurationManager.ConnectionStrings("testConnectionString2).ToString and says something abt unidentified object and I want to know how do i set the connection string or alternatively where?????? and my table does not update with the corresponding values i enter on the webpage. i also changed the authentication mode to forms instead of windows as i was advised but i'm still having a problem

View 12 Replies View Related

Changing Careers - Software Developer To Database Developer

Jul 10, 2006

Hello all. I'm giving serious thought on changing gears withing the IT world. For several years I have been a software developer who has been fortunate enough to have been involved in the needed databases. From just sketching out tables for the DBA to doing the database from the ground up and maintaining it during production. Along the way I've known that I didn't do as quality of a job as a knowledgeable DBA would do but given the situations I made do just fine.

I am considering switching gears to the database side only, coding as secondary. Since I am basically familier with most aspects of SQL Server in a general way, I am looking to take that knowledge and become a "Professional". What I am looking for is a few books to help out. Maybe a "Become a DBA for Software Developers" or something. I know that mining these and other forums are very valuble but I'd like some other training materials as well.

Have I been clear enough on what I am looking for? I don't quite feel like I have.

Basically, what would you recommend for a good software developer who is looking on switching to becoming a good database person?

I'd like to stay in SQL Server for now, since that is what they use here and it would give me an opportunity to practice.

Also, do you see value in the studying process for certifications in this area?

View 14 Replies View Related

Attach An Sql Express Edition Database File To Sql Developer Edition Instanse

Mar 17, 2007

Hi i have two version of SQL server express (with Visual Studio 2005) and developer edition i am trying to access an sql database file -created by the express edition integrated with Visual studio- using a developer edition instance can i just attach it and access it. and can i use BI and reporting services on that file

View 1 Replies View Related

Visual Web Developer 2005 Express -- With SQL Server Developer 2005?

May 4, 2006

Can someone here confirm or deny that Visual Web Developer 2005 Express Edition doesn't work with SQL Server Developer Edition 2005?



I
was about to order SQL Server Developer Edition 2005 on Amazon, to use
with Visual Web Developer 2005 Express, when I read a user comment that
the two are incompatible with each other. Does anyone know for sure if
that is true?



What I'm wanting to do is develop an ASP.NET web
application on a web host using a SQL Server database. I use VS2003 and SQL
Server Enterprise 2000 at work, but I'd like to learn the 2005 editions
for this side project. I don't own any of the developer tools/IDEs
personally, so I'm trying to find the most affordable way to do this
for my home business.



Thanks for any advice,

Keith

View 3 Replies View Related

Using SQL Server 2005 Express In Visual Web Developer Express

May 20, 2006

I have installed Visual Web Developer Express and its companion SQL Server 2005 Express in my Windows XP Professional box.

Now I want to create a database using Visual Web Developer. I opened the Database Explorer and right clicked on Data Connections icon but what I am seeing is an inactive "Create new database" command.

How can I make it active ? How to create a database using my Visual Web Developer?

View 3 Replies View Related

SQL Express To SQL Developer

Apr 17, 2006

Is there any way to perform in place upgrade from SQL Express to SQL Server developer edition?

View 2 Replies View Related

Using SQL Express With Visual Web Developer

Apr 12, 2007

Hi,    Can I use Sql Express Edition with Visual Web Developer at the same time? I tried but I always get a permission error. Also, when I try to attach a database (that I created in Visual Web Developer) to the SQL Express i cant find the .mdf file, I don't know why? Is there is a way where I can specify a folder where I can keep the mdf and allow both applications to access it? 

View 2 Replies View Related

SQL Server For Developer And Sql Express

Feb 12, 2008

Hi Guys,

I am just getting crazy, crazy and crazy again!!!!

I just installed SQL server for developers.

With it I can open and build databases on the sql-server but not on the sql-express.


With visual studio 2008 I can open and create database with sql-express but not with sql-server


Why is that?

Why do I have to suffer so much??? What the hell I have done??? Why these products are so badly designed!!!

View 5 Replies View Related

Install Both Sql Express And Developer Edition ?

Jun 5, 2007

Can I have both of them installed ? I work on applications sometimes on two different machines. One has Visual studio w/ sql 2005 developer edition, the other with express editions of both. Can I install sql express on my workstation that already has developer edition ?

View 3 Replies View Related

SQL Server Express To SQL Developer Edition

Dec 13, 2006

I have Visual Studio 2005 Team Suite and have SQL Server Express installed from the initial setup. I would like to replace the Express edition with SQL Server 2005 Developer edition. I am currently developing for SQL 2000 and also have Enterprise Manager installed locally. Will the Developer edition install offer the option to unistall the Express edition (I don't need both installed)? Or do I need to uninstall Express manually and then install Developer. Also is there anything I have to be wary of in terms of making sure I am still able to debug SQL 2000 sprocs etc. in VS?

Rory

View 3 Replies View Related

Can't Connect With Visual Web Developer Express

Mar 17, 2006

When attempting to use VWD Express' built-in web server I recieve the following error in browser window:
An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)

I've done the following:

Followed advise on How to: Configure Express to accept remote connections

Retrieved port_address from SQL Server Configuration Manager (i.e. SQL Server 2005 Network Configuration > Protocols for SQLEXPRESS > Select TCP/IP Protocol name > RT click on Properties > IPALL - TCP Dynamic Ports port_address

netstat -ano | findstr "port_address" shows the following

TCP 0.0.0.0:2247<-port_address 0.0.0.0:0 LISTENING 1620

Attempted to connect to SQLEXPRESS service using dynamically assigned port_address with this command

F:Program FilesMicrosoft SQL Server90ToolsBinn>SQLCMD -S .sqlexpress,2247

HResult 0x2AF9, Level 16, State 1
TCP Provider: No such host is known.
Sqlcmd: Error: Microsoft SQL Native Client : An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections..
Sqlcmd: Error: Microsoft SQL Native Client : Login timeout expired.


I can successfully connect to SQLEXPRESS using SQLCMD with flags
- S .sqlexpress
and
-S np:\:\.pipeMSSQL$SQLEXPRESSsqlquery (named pipes)

Using VWD Database Explorer I have connected to my SQL Server 2005 Express databases and the Test Connection button on the Modify Connection form reports the connection strings are good. Lastly SQL connection string property field User Instance = True and neither database resides in "My Documents" folder.

Questions:

Does VWD local web server require configuration?

Is this a Named Pipe or TCP/IP configuration problem? Should Shared Memory be disabled?

Should I give up on VWD local webserver and install IIS instead?

View 14 Replies View Related

Connect Vb Express To SQL2005 Developer Ed?

Jan 25, 2007

Excuse the cross post (to VBexpress fourum) but maybe someone here will have a different take?

have searched all around can't seem to see how to configure a SQL2005 developer ed so I can use vb express to develop a local front end. keep getting "the user instance login flag is not supported on this version of sql server" I have configured the .net framework via aspnet_regsql.exe. Also I configured the "Machine.config" file. but so far no luck.

Selecting sql2005 as the server thru the add new database connection in advanced area yields the error message

surely there is away.



So far still no joy,

While Scotty indicates that the connection to SQL2005 is intentionally hampered other posters indicate that the user instance problem can be solved by running the .net config tool to add the asp database to sql server, which I have done.

However this does not yet work.

I cannot get the code to spark yet.

Again my configuration cannot be any simpler. sql express sp1 and sqldeveloper on the same machine using windows security (all installed with default cofigurations)

In the absence of other ideas I may try to get sql express downloaded and going, I'm not sure what issues that will present re: what I'm trying to develop.

I'm trying to develop the skills to replace some fairly involved reporting and some user table interface that I had going in access2003, I hate to pruchace a big piece of sw when I don't know if it will remove the current roadblocks...

Appreciate the help here, but doesn't someone have a "simpler" complete answer? I.e. one that would get the developer database to accept the connection wizard? (user instance issue)

View 10 Replies View Related

Install Developer Edition &&amp; Express?

Feb 11, 2006

Hi: I have installed SQL 2005 Developer Edition and VS 2005. Do I need to also install SQL 2005 Express edition too?????

My version of VS2005 is proffesional. I cannot seem to find SQL 2005 Developer Edition in the Server Explorer of VS2005. So I am wondering if I need to install SQL 2005 Express. Before I had SQL 2000 and MSDE installed with VS2003 and there was no problem.

Thanks

View 7 Replies View Related

Web App Runs Fine When Using Web Developer Express, But, Won't Run From Browser

Sep 13, 2006

Herre is my connection string:<add name="PageEngine" connectionString="Data Source=MyServerSQLEXPRESS;Initial Catalog=PageEngine;Integrated Security=True;User ID=MyID;Password=MyPwd;" providerName="System.Data.SqlClient"/>When I run the app using WDE (Web Developer Express), Everything works fine. I can access and diplay data from the database with no problems. However, when I try to run it from a browser on  the local machine or a remote machine it fails to create a datareader. I am using the Database factory from Enterprise Library. IDataReader dr = pe.DataReaderFromStoredProcedure("pe_GetApplicationInformation", null, "PageEngine");if (dr.Read() != false) (* this is the line it fails on every time){_ApplicationName = dr["ApplicationName"].ToString();_Version = dr["Version"].ToString();_Copyright = dr["Copyright"].ToString();_Owner = dr["Owner"].ToString();}dr.Close(); Here is the "DataReaderFromStoredProcedure"  methodpublic IDataReader DataReaderFromStoredProcedure(string spName, peParameters parameters, string connection){Database db;if (connection != null)db = DatabaseFactory.CreateDatabase(connection);elsedb = DatabaseFactory.CreateDatabase();DbCommand dbCommand = db.GetStoredProcCommand(spName);dbCommand.CommandType = CommandType.StoredProcedure;Here is the error message I get:Object reference not set to an instance of an object. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.Source Error: Line 53: IDataReader dr = pe.DataReaderFromStoredProcedure("pe_GetApplicationInformation", null, "PageEngine");
Line 54:
Line 55: if (dr.Read() != false)
Line 56: {
Line 57: _ApplicationName = dr["ApplicationName"].ToString();Source File: c:Public FoldersITWebSite ProjectsScotts_SandboxPageEngineWorkingApp_CodeBusiness LayerApplicationInformation.cs    Line: 55 Stack Trace: [NullReferenceException: Object reference not set to an instance of an object.]
PageEngine.ApplicationInformation..ctor(Page pg) in c:Public FoldersITWebSite ProjectsScotts_SandboxPageEngineWorkingApp_CodeBusiness LayerApplicationInformation.cs:55
login.GetTitle() in C:Public FoldersITWebSite ProjectsScotts_SandboxPageEngineWorkinglogin.aspx.vb:45
login.Page_Load(Object sender, EventArgs e) in C:Public FoldersITWebSite ProjectsScotts_SandboxPageEngineWorkinglogin.aspx.vb:13
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42  I have tried so many things found on the forums, I don't know what to do anymore![:'(]

View 2 Replies View Related

SQL Express Connection String (via Visual Web Developer) .. Asp.net V2.0

Apr 20, 2007

View 5 Replies View Related

SQL Server 2005 Express With 2000 Developer

Nov 24, 2006

Hi

I have working on SQL Server 2000 Developer which is installed on WinXP Pro 2 and want to install SQL Server 2005 Express.

Can we install the both on same Operating System.


Thanks

ASM

View 1 Replies View Related

SSIS - SQL Server Developer To Express Edition

Nov 2, 2006

Hi,

Does anyone know if it is possible to use SQL Server Developer Edition to produce SSIS packages that will operate on a remote SQL Server Express Edition database?

The situation is such that it is easiest to install a SQL Server Express Edition database on a remote server (for use within a company intranet) due to server availability and licensing restrictions. It would be great to be able to do Excel round trips with the data though - would it be possible to use SQL Server Developer Edition to do this on another computer, and have it update the data in the Express database?

Thank you for your time.

Kind Regards,
Ray Muirhead

View 3 Replies View Related

Express And Developer - Performance Counter Errors

Dec 7, 2006

I installed Visual Studio 2005 on my machine, which includes SQL Server Express. I then installed the Developer edition of SQL Server over the top, as that's the edition I wanted. I now get four errors in my Application event log whenever I boot Windows:

MSSQLSERVER - Performance counter shared memory setup failed with error -1. Reinstall sqlctr.ini for this instance, and ensure that the instance login account has correct registry permissions.
MSSQLSERVER - Error in mapping SQL Server performance object/counter indexes to object/counter names. SQL Server performance counters are disabled.
MSSQL$SQLEXPRESS - Performance counter shared memory setup failed with error -1. Reinstall sqlctr.ini for this instance, and ensure that the instance login account has correct registry permissions.
MSSQL$SQLEXPRESS - Error in mapping SQL Server performance object/counter indexes to object/counter names. SQL Server performance counters are disabled.

Any idea what's causing this problem and how I can fix it?

Thanks

View 5 Replies View Related

Reinstall Sql Server Express After Developer Edition

Oct 27, 2006

I had to uninstall SQl Server 2005 Developer Edition because of hardware requirements, and reinstall Express Edition download version.

But SQL Server Database Services fails with this message:

SQL Server Setup has determined that the following account properties are not specified: 'AGTACCOUNT' . Error Code: 28006.

The first time I installed Express the flow of setup ended well without any message. How to act?

View 17 Replies View Related

Upgrading From Express To Developer Edition, All Messed Up Now !

Feb 1, 2007

I have (had!) SQL Server 2005 Express and Visual Studio Web Express
2005 (still do) installed but need to write some Reporting Services
reports. I have now bought a Sql Server 2005 Developer license (£40 version)
and have installed it. However I couldn't find any new installation in
my program files so i uninstalled it and the express
version and tried to reinstall the Developer edition but it
kept stopping with all the options greyed out saying there's nothing
to install. So i managed to install as an instance, can't install the 2nd disc though ?? Am i doing something wrong here ? how can i satrt again ??

hopefully

steve

View 3 Replies View Related

SQL Express And SQL 2005 Developer Edition On Same Machine

Sep 11, 2006

Hello,

I am wanting to setup both SQL Express and SQL 2005 developer edition with visual studio 2005 professional on the same machine and want to make SQL dev edition the default local accont to where I can set the sql connection to server=localhost. Is there a way to do this?

Thanks

View 5 Replies View Related

How Do Add A DB Connection To A Table In SQL Server Express Using Visual Web Developer?

Mar 22, 2007

I'm developing using Visual Web Developer and want to have a web page that shows the contents of a table.  I get the error message when testing the connection through database explorer "Login failed for user ''.  The user is not associated with a trusted SQL Server connection". 
The database is located on a server running IIS and has SQL Server Express installed.
 

View 1 Replies View Related

How Do Add A DB Connection To A Table In SQL Server Express Using Visual Web Developer?

Mar 22, 2007

I'm developing using Visual Web Developer and want to have a web page that shows the contents of a table.  I get the error message when testing the connection through database explorer "Login failed for user ''.  The user is not associated with a trusted SQL Server connection". 
The database is located on a server running IIS and has SQL Server Express installed.

View 1 Replies View Related

Microsft SQL Server && Visual Web Developer 2005 Express

Jan 18, 2008

Hello Everyone,
I have just installed then above softwares and I am trying to work on a very simple application.On my Default.aspx I created a Gridview and connected it to the dabase.Everything works fine?When I try to work on the Security under Website->ASP.NET_Configuration I get the error:
There is a problem with your selected data store. This can be caused by an invalid server name or credentials, or by insufficient permission. It can also be caused by the role manager feature not being enabled. Click the button below to be redirected to a page where you can choose a new data store. The following message may help in diagnosing the problem: Unable to connect to SQL Server database. I see that a lot of people get this problem. Can someone sugest a way out?Thnaks in advancePati2005
 
 

View 3 Replies View Related

Help Me! How Can I Use SQL Server Subreports In Visual Web Developer Express Edition

Jan 30, 2007

Hi,

I use Visual Web Developer 2005 Express Edition. Anybody help me how can i use reports and subreports with parameters in it. I am new to ASP.NET. Please give me a sample. Thanks in advance.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved