Problem In Deploying The Website Developed In Visual Web Developer 2005

Apr 11, 2006

Hi,

I am new to asp.net.I am trying to deploy the website on IIS created in visual web developer 2005 express.I am having problem with the aspnetdb.mdf for login.
I have copied my entire contents to the physical directory( shared floder),from where the iis virtual directory can access the contents.I can see my login form but when i enter my username and password and click login it gives my error
"error occured in establishing the connection".

I am using the sql server 2005.I don't know what should i do with aspnetdb.mdf?

thanks and urgent help needed

View 1 Replies


ADVERTISEMENT

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

Problem Deploying Site Developed With Sql Ex. To Server Running Sql Server 2005.

Apr 10, 2006

Can someone show me, or direct me, to a source,  that shows me how, and what to change,  when deploying a website from a development server running Sql Ex to a production server running Sql server 2005.  I can’t get the sites to run under Sql server 2005.
 
They work in Sql Ex. what must I change?  The connection string, to what format?  and what else?  I attached the dB to Sql 2005 and browsed the content in the Sql manager.  But can’t get the aspx pages to work on the server.
 
Help please

View 6 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

Can I Use SQL Server 2005 Developer With Visual Web Developer?

Nov 24, 2007

There are conflicting postings everywhere about this. I built a small site using VWD and SQL Server Express, but need to convert to Sql Server 2005 Developer because the DB will exceed 4Gb. Tried to install and could not connect or use from VWD. Tried to uninstall, got into large mess with the byzantine uninstall process, and have now started with a clean machine.

I installed SQL Server 2005 Developer first, then installed VWD Express 2008 without installing SQL Server Express. VWD won't let me connect to an existing database, won't let me add a new database and doesn't even show the Database Tools option under the Tools menu.

Is there someone with specific knowledge that can provide any enlightenment? Would be much appreciated.

View 2 Replies View Related

Getting Up And Running With Visual SQL Server 2005 Express And Visual Web Developer 2005 Express

Apr 11, 2006

I've downloaded and installed both of these (VWD installs both) and have been trying to run through the walkthrough of setting up a web application which supports membership. However, no matter what I do I invariably get errors like the following:


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) (Microsoft SQL Server, Error: -1)
I'm concerned why VWD and VSQL express versions don't run correctly out of the box (so to speak). I'm not an expert on configuring these services -- but that's the point of offering these tools to hobbyists: So we can learn about how to make some of these great applications using MS tools.
My configuration::


Windows XP SP2 -- clean machine as of about a month ago, never had any dev tools, web servers, or the like on it.

IIS is installed and the service says its running

VSQL and VWD express versions installed (no errors on installation)

SQL server service indicates it is running

.Net 2.0 framework installed (no errors on installation)

Note: I've tried installing on two separate machines. Obviously I'm missing something fundamental.

Would someone please help me go through the million things I [apparently] need to do to configure all these tools so I can get on to actually coding up my first web application? If this is documented somewhere, all I can say is I tried to find it but it certainly wasn't obvious.

View 3 Replies View Related

Visual Web Developer && Server 2005

Oct 13, 2006

Yes I am a newby (or is that newbie) and this is my first post.My Visual Web Developer site work really well on my PC, I read the books took it slowly, created logins and sql tables and then found a good hosting company with Server 2005 ... I though I was one step away from the road to success ... then I hit the big brick wall. Spent hours on Google trying to find some answers without joy ... all I found were lots of users with the same or similar problems ... and some answers that caused more problems !1) Please can someone give my a 'step by step' idiots guide on how to convert my ASPNETDB.MDF content to run on Server 2005. I have Server Management Studio so I am happy about loading the translated files but I don't understand how to break them down into tables and logs.2) Once the files are across can I run a connection string from VWD directly to the tables on the server instead of SQL local ? I assume that is set in web.config !!.... normally I am happy to learn by trial and error. But I can't get around or over this brick wall.Welcome assistance, advice or a ladder ... with simple instructions ? 

View 2 Replies View Related

Problem With Visual Studio 2005 Pro + SQLserver 2005 Developer

Aug 20, 2006

Hello
Im pretty new to development so..... be nice guys.
I have VS2005 pro and SQL Server 2005 developer edition installed. When I open VS, in the server explorer i can connet to databases located on the SQL directory (SQL Server runs perfectly) But when i try to add an sql server to my project( add new item --> SQL database) it gives me an error saying "Connection to SQL server files (*.mdf) require SQL Server Express 2005 to function properly. Please verify the installation of the component......"
HELP! donno what VS wants!

View 1 Replies View Related

Trouble In Installing Visual Web Developer 2005 SP

Oct 4, 2007

Hi,

I'm new to SQL Server and am now learning how to operate SQL Server Express 2005.

I'm getting the following error when attempting to install Visual Web Developer 2005 SP1.

"The upgrade patch cannot be installed by the Windows Installer service because the program to be upgraded may be missing, or the upgrade patch may update a different version of the program. Verify that the program to be upgraded exists on your computer and that you have the correct upgrade patch"

My machine runs on XP Pro SP2, .NET Framework 3.5.

Currently, what i have got on the computer are as follows
Microsoft SQL Server 2005: SQL Server Management Studio Express, SQL Server Configuration Manager.

View 4 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

Why Can't I Acces My SQL Server 2005 Db After Working With Visual Web Developer?

Apr 28, 2008

I am developing an asp.net app using visual web developer. I am using a sql server 2005 db for the back end. I have learned that I have to restart my machine if I want to work with the db in SQL Server 2005 Express after working with it in Visual Web Developer.

I am wondering why this is. I am assuming that the db is locked when it is used with VWD. Is this correct? Am I refering to it's status of "locked" correctly? Should I call this something else?

-thanks to anyone that can help

View 3 Replies View Related

SQL Or Visual Web Developer 2005 To Arrange Phone Number Formatting?

Jul 31, 2006

i am trying to build a database that contains a coloumn of phone number but i reallly dont know where and how i will be able to give a specific format for phone numbers.. or anything else any common type of information that may have a format..



Will i use Visual Web Developer or SQL Server Management or whatever else to arrange my phone number coloumn?

View 5 Replies View Related

Asp.net Visual Web Developer 2005 Connection To Sage Dosen't Work On Server

Jun 29, 2007

Hi all
i have a page with this code
 <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AllowSorting="True"
AutoGenerateColumns="False" DataSourceID="SqlDataSource1" PageSize="36">
<PagerSettings Mode="NumericFirstLast" Position="TopAndBottom" />
<Columns>
<asp:BoundField DataField="ACCOUNT_REF" HeaderText="ACCOUNT_REF" SortExpression="ACCOUNT_REF" />
<asp:BoundField DataField="NAME" HeaderText="NAME" SortExpression="NAME" />
<asp:BoundField DataField="ADDRESS_1" HeaderText="ADDRESS_1" SortExpression="ADDRESS_1" />
<asp:BoundField DataField="ADDRESS_2" HeaderText="ADDRESS_2" SortExpression="ADDRESS_2" />
<asp:BoundField DataField="ADDRESS_3" HeaderText="ADDRESS_3" SortExpression="ADDRESS_3" />
<asp:BoundField DataField="ADDRESS_4" HeaderText="ADDRESS_4" SortExpression="ADDRESS_4" />
<asp:BoundField DataField="ADDRESS_5" HeaderText="ADDRESS_5" SortExpression="ADDRESS_5" />
</Columns>
<PagerStyle HorizontalAlign="Center" />
</asp:GridView>

<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:SageConnectionString %>"
ProviderName="<%$ ConnectionStrings:SageConnectionString.ProviderName %>"
SelectCommand="SELECT ACCOUNT_REF, NAME, ADDRESS_1, ADDRESS_2, ADDRESS_3, ADDRESS_4, ADDRESS_5 FROM SALES_LEDGER">
</asp:SqlDataSource>
 On my local machien this works great and I'm very happy with it
I then uploaded the site onto the server
on running the page i get this
 
ERROR [08001] Cannot find all files in data pathERROR [01000] The driver returned invalid (or failed to return) SQL_DRIVER_ODBC_VER: 2.00ERROR [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failedERROR [01000] [Microsoft][ODBC Driver Manager] The driver doesn't support the version of ODBC behavior that the application requested (see SQLSetEnvAttr).
 
can anyone suggest a eresolution? i'm confused since it works on my local machine fine but not on the server

View 5 Replies View Related

Error Connecting To The Sqlserver Express Edition From Visual Web Developer 2005

Dec 19, 2007

hello eveyone..i have just downloaded and installed the visaul web developer 2005 express edition and sqlserver 2005 express edition.On top of that i even downloaded and installed the northwind database.But my problem is when i am connecting to the northwind database by clicking toos menu>connect to the database>choose datasource>new connection>..i have provided it with the required information..but as soon as i press "Test Connection" button the following error box displays.. "an error has occured while establishing a connection to the server.when connecting to the sql server2005,this failure may be caused by the fact that under default settings sql server doestnot allow remote connections.(provider:Named piped providers,error:40-couldnot open a connection to sqlserver.)" i have no idea whats is all about..can anyone get me pass this error..    

View 2 Replies View Related

UNABLE TO ESTABLISH USER INSTANCE - Visual Web Developer 2005 Edition

Apr 11, 2007

Hi:



I have SQL Serrver 2005 Express Edition with Advanced Services running on a machine with Vista Home Premium o/s.



I am trying to build the Personal Web Site Starter Kit using Visual Web Developer 2005 Express Edition but keep running into problems when trying to establish user instance. The error "Failed to generate a user instance of SQL Server due to a failure in starting the process for the user instance. The conmnection will be closed" keeps coming up.



The following services are running:

SQL Server (SQLEXPRESS)

SQL Server Browser

SQL Server Full Text Search

SQL Server VSS Writer



I note from the documentation that a new instance should be created in the directory :

C:Documents and Settings<User>Local SettingsApplication DataMicrosoftMicrosoft SQL Server DataSQLEXPRESS.

Unfortunately that directory does not exist on my Vista machine. Is this a fault?

Should I create this directory?



Any help will be gratefully received.



Simon Woollard













View 1 Replies View Related

Trouble Installing Reporting Add-In For Microsoft Visual Web Developer 2005 Express

Jul 25, 2007

Hi Folks



I've downloaded & installed Visual Web developer Express and SQL Server Express and now I'm trying to install the Reporting Add-In available here: http://msdn.microsoft.com/vstudio/express/downloads/default.aspx



It downloads just fine and, just as the installation progress bar is almost done and the status text says 'Registering Product', I get the following error message:

"There is a problem with this windows installer package. A program run as part of the setup did not finish as expected. Contact your support personell or package vendor"



Running VWD shows the ReportViewer control now appears in the 'data' group. I can add it to a form, but I cannot create a new report, as clicking on 'Design a new report' under the ReportView Tasks popup menu does nothing.



Any ideas, please?



Thanks

Andrew

View 4 Replies View Related

Problem Installing SQL 2005 Developer + Express And Visual Studio 2008

Jan 16, 2008

I installed both SQL 2005 developer and SQL Server 2005 Express Edition with Advanced Services SP2 and Microsoft SQL Server 2005 Express Edition Toolkit.

In every version "SQL Server Business Intelligence Development Studio" was missing. I uninstalled and reinstalled both version but always "SQL Server Business Intelligence Development Studio" was not available and the computer could not find devenv.exe file.

I installed visual studio 2008 as well. For some reason the start menu link for "SQL Server Business Intelligence Development Studio" is ""C:Program FilesMicrosoft Visual Studio 8Common7IDEdevenv.exe"" and devenv.exe is not there or anywhere

Pleas advise.

View 4 Replies View Related

Reporting Services :: How To Deploy Report Viewer Runtime For Projects Developed In Visual Studio 2015

Oct 16, 2015

I have converted the VS 2013 WinForm project to VS 2015. Once I installed it on client, report viewer is asking for Microsoft.ReportViewer.WinForms 12.0.0.0.With VS 2013 projects Report Viewer 2012 Runtime worked fine. I haven't been able to locate anywhere newer version of Report Viewer Runtime/

View 2 Replies View Related

SQL Server ---- Deploying A WebSite

Jun 25, 2007

Since from using my local host to view my website, I am assuming I already have SQL Server installed on my computer? Is it possible to have users access my website files directly onto there own computer, say if they type my ip address or domain name into their address bar?  What I am actually wanting to do is to host my website from my home computer... Any ideas, or good slash easy to understand articles on how to do this?

View 8 Replies View Related

Problems Deploying Website

Apr 13, 2006

My ASP.NET application runs fine within the VS2005 IDE; but, when I deploy to my local machine to try to run it under IIS and calling it up in a browser, I'm getting the following exception:
Exception Details: System.Data.SqlClient.SqlException: Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. 
Stack Trace:
[SqlException (0x80131904): Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection.]   System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +734979   System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +188   System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +1838   System.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean enlistOK) +33   System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance) +628   System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance) +170   System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection) +359   System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options) +28   System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject) +424   System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject) +66   System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +496   System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +82   System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +105   System.Data.SqlClient.SqlConnection.Open() +111   System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +121   System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +137   System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, String srcTable) +83   System.Web.UI.WebControls.SqlDataSourceView.ExecuteSelect(DataSourceSelectArguments arguments) +1770   System.Web.UI.WebControls.ListControl.OnDataBinding(EventArgs e) +92   System.Web.UI.WebControls.ListControl.PerformSelect() +31   System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +70   System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound() +82   System.Web.UI.WebControls.ListControl.OnPreRender(EventArgs e) +26   System.Web.UI.Control.PreRenderRecursiveInternal() +77   System.Web.UI.Control.PreRenderRecursiveInternal() +161   System.Web.UI.Control.PreRenderRecursiveInternal() +161   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1360
 I'm a novice at this and really need some help.  What stupid newbie mistake am I making here?  Thanks in advance for any guidance/assistance rendered.

View 2 Replies View Related

Can I Install Visual Studio 2008 Without The SQL Server 2005 Express And Use Instead My SQL Server 2005 Developer Edition?

Feb 22, 2008

(1) I have already installed of SQL Server 2005 Developer Edition first.

(1) Can I install visual studio 2008 without the 2005 express edition of SQL server? Will be any problems because I don't have express edition of SQL server? Do I need to install the express edition of SQL server as well?

(3) How to use SQL Server 2005 Developer Edition instance on visual studio 2008?

View 3 Replies View Related

Deploying A Website With User Authentication - Getting Errors

Nov 26, 2007

I have built a site that uses form-based authentication. Am I correct in assuming that the users and passwords will be stored in the SQLServer database in the aspnetdb.mdf file?  The website works great and the authentication works how I want it to.  However, I've tried to copy over the file onto a remote machine. The first page is a login screen and this is displayed without any problems but as soon as I attempt to log in I get an error message of: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)I'm wondering if this is something to do with the fact I installed SQLServer Express edition on the remote machine. The website works no problem on the local machine in debug mode of Visual Studio 2005 (Professional Edition).  I followed instructions to enable remote connections on SQLServer Express from a Microsoft support doc.  If anybody can point me in the right direction I'll be very grateful as I've hit a wall here.

View 3 Replies View Related

SQL Cant Find Server/instance When Deploying Website.

Mar 11, 2008

Hello All, please be gentle im very new to this stuff..
So if i add a record via a sql datasource using the ConnectDB connection string it adds it the the sql 2005 database called intranet.... If i try to add to it using an onbuttonlick(Code Below) event it comes up with the "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) "I have set remote connections on and tryed it with TCP/IP and TCP/IP and Named Pipes.   SQL is installed as the default instance.
If  both ways are using the same connection string surely it should work? Im not to sure where i am going wrong here...Here is the code for the on button click event.. 'INSERT NEW EMAIL INTO NEWSLETTER TABLE




1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:

Protected Sub AddEmailButton_Click(ByVal sender As Object, ByVal e As EventArgs) Handles AddEmailButton.Click
Dim ConSTRING As String = ConfigurationManager.ConnectionStrings("ConnectDB").ConnectionString
'INSERT NEW EMAIL INTO NEWSLETTER TABLE
Dim cn As SqlConnection = New SqlConnection(ConSTRING)
Dim InsertSQL As String = "INSERT INTO Newsletter (Name, Email) VALUES (@Name, @Email)"
Dim cmd As SqlCommand = New SqlCommand(InsertSQL, cn)
cmd.Parameters.AddWithValue("@Name", (TBname.Text))
cmd.Parameters.AddWithValue("@Email", (TBemail.Text))
cn.Open()
cmd.ExecuteNonQuery()
LBLstatus.Text = "Success, Email is now on Mailing List"
cn.Close()

Below is my web.config connection string<connectionStrings>  <remove name="LocalSqlServer" />  <add name="ConnectDB" connectionString="Data Source=10.130.0.11;Initial Catalog=intranet;User ID=XXXXX;Password=XXXXX;"   providerName="System.Data.SqlClient" /> </connectionStrings>
 
Any help on this would be great as im stuck..
Best Regards
Leigh

View 5 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

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

Developed In 2005, Need To Go Back To 2000

May 19, 2007

I've developed a web application and to be honest I've been a bit dumb and not checked with my hosts. I assumed they used SQL Server 2005. But no, they only use 2000.

I'm sure I'll come across more problems but the first I'm having is I've used the ROW_NUMBER() function in a few stored procedures, but in 2000 I'm getting this error message

'ROW_NUMBER' is not a recognized function name.

Here is the stored procedure for reference

SELECT RowNum
FROM
(
SELECT id, category, ROW_NUMBER() OVER(ORDER BY id) as RowNum FROM custrecords
)
as CustRecord

View 7 Replies View Related

Deploying Assemblies Using Visual Studio Is Slow...

Feb 13, 2007

Hello,

I am using CLR integration to provide all the stored procedures for my project, but the issue I am finding is that deployment of my assembly and it's stored procedures (and two UDTs) is now starting to take so long that I am getting a timeout from SQL Server during deployment (with the default settings of 600 seconds remote connection timeout).

Is there a way to speed-up the deployment process?

I know I could employ a differing strategy of splitting the procedures into multiple assemblies, but I am more concerned that the legth of time used to deploy might indicate some other issues with my server.

By the way, my current assemly contains: 247 Stored Procedures, 7 User Defined Functions, and 2 User Defined Types.

Thanks,

View 3 Replies View Related

Deploying Report Via Visual Studio To Sharepoint - Error

Sep 7, 2007

Hi guys

I seem to be having a bit of trouble deploying my reports from my Reporting Services Project in Visual Studio to my Sharpoint server.



Both the reporting server and sharepoint are installed on the same server.



The settings within my reporting server are as follows (where report is the site name):

TrargetDataSourceFolder - https://server/Report/Shared Documents/DataSources

TrargetReportFolder - https://server/Report/Shared Documents

TrargetServerURL - https://server/Report



I have not yet changed over all my reports to use fully qualified urls yet. As we have multiple domains in which the reports need to go through before they hit the production server and i haven't yet decided how i am going to handle the issues of the reports requiring fully qualified addresses (if someone has a way i would love to know).



I was getting the following error when i tried to deploy the projects but i delete all extensions from the blocked file types and that error went away. I can only guess that there was a file type it didn't like.

Error - "The file you are attempting to save or retrieve has been blocked from this Web site by the server administrators."



When i deleted all the file extensions i now get the following error.

Error - "File Not Found."



Just wondering if anyone has had any success with visual studio and sharepoint deployment or run into this problem.

Thanks

Anthony

View 8 Replies View Related

Connect User Developed Interface Using WVD To DB SQLEE 2005

Oct 13, 2006

Dear Friends

I am a bigginer. I need to save input from textBox (User interface that I have made using VWD) to a database in SQLSEE 2005 using C#. please help me. I now how to connect to DB using Visual Items like gride view and form view. but i want to conect to DB using my developed UI lke in below. any help greatly appreciated

Name input area

address input area



Thanks

Amila

View 1 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

Using Sql Server With Visual Web Developer

Nov 14, 2007

Hey,
Im trying to make a website that I can enter information on the website and have it transfered to the database the problem is the website and database are on two different computers , how do I copy the data base onto the other computer and have it will be ready to take information from the website and store it in the database?

View 3 Replies View Related

Visual Web Developer And Sql Error 40

Mar 20, 2006

lo all,
when i try and connect web developer to a sql file i get "An error
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)"
thx for any help
Charlie

View 4 Replies View Related

Which Better For Visual Basic Developer

Jun 19, 2006

hi
i found these books for learnning sql server
which better to read for Visual Basic Developer ??


http://www.sqlserver2005books.com/1-3805-0735622507-%20Microsoft_SQL_ServerTM_2005_Reporting_Services_Step_by_Step_Step_by_Step_Microsoft.html

------------------------

http://www.sqlserver2005books.com/1-3805-0735622078-%20Microsoft_SQL_ServerTM_2005_Database_Essentials_Step_by_Step_Step_By_Step_Microsoft.html

thank you

View 2 Replies View Related







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