Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    MS SQL Server


SuperbHosting.net have generously sponsored dedicated servers to ensure a reliable and scalable dedicated hosting solution for BigResource.com.





Failed SQL Connection / Visual Web Developer Vs. Asp.net


  I have an issue connecting to a SQL server, not on localhost.

Writing the code in Dreamweaver I can not seem to get a connections, I get an error:

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, if I create a basic connection and GridView in Visual Web Developer it works fine. Even tried to copy the web.config and use it in Dreamweaver

I would just use Visual Web Developer, but I need to output this as a pure xml for import into flash.

So need help in one of two places, either

A: How do I easily get Visual Web devleoper to print out xml from a sql database 

B: How do I get it to connect using my Dreamweaver coe 

This is my dreamweaver code:

<%@ Page Language="VB" Debug="true" %>
<%@ import namespace="System.Data"%>
<%@ import namespace="System.Data.SqlClient"%>



<script runat="server">
'Dim connectionString as String = "Provider=Microsoft.Jet.OLEDB.4.0; Ole DB Services=-4; Data Source="+Server.MapPath("")+"adp1.adp"


    Sub Page_Load(Src As Object, E As EventArgs)
getData()
       End Sub

    Function getData() As System.Data.DataSet
Dim dbConnection As SqlConnection = New SqlConnection()
dbConnection.ConnectionString = _
    "Data Source=(severname);" & _
    "Initial Catalog=database;" & _
    "Integrated Security=true"


        Dim queryString As String = "SELECT [inow].* FROM [inow] Order by ID"
        Dim dbCommand As System.Data.IDbCommand = New System.Data.SqlClient.SqlCommand
        dbCommand.CommandText = queryString
        dbCommand.Connection = dbConnection

        Dim dataAdapter As System.Data.IDbDataAdapter = New System.Data.SqlClient.SqlDataAdapter
        dataAdapter.SelectCommand = dbCommand
        Dim dataSet As System.Data.DataSet = New System.Data.DataSet
        dataAdapter.Fill(dataSet)

       ' Return dataSet
   response.Write(dataSet.getXML())
    End Function



</script>

<html>

<head runat="server">

    <title>Declarative Output Caching</title>

</head>

<body>

</body>

</html>




View Complete Forum Thread with Replies

Related Forum Messages:
How Do Add A DB Connection To A Table In SQL Server Express Using Visual Web Developer?
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 Replies !
How Do Add A DB Connection To A Table In SQL Server Express Using Visual Web Developer?
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 Replies !
Asp.net Visual Web Developer 2005 Connection To Sage Dosen't Work On Server
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 Replies !
Can I Use SQL Server 2005 Developer With Visual Web Developer?
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 Replies !
Visual Web Developer 2005 Express -- With SQL Server Developer 2005?
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 Replies !
Using Sql Server With Visual Web Developer
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 Replies !
Using SQL Express With Visual Web Developer
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 Replies !
Visual Web Developer And Sql Error 40
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 Replies !
Which Better For Visual Basic Developer
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 Replies !
Basic Sql Querying In Visual Web Developer
I'd like to be able to query a database to get the value of a
certain row.  However, I'd like to save this value into a variable
and use them as I'd like, NOT nessessarily display them in a data
control such as a gridview etc.  I've been able to find a lot of
information on binding datasourses to predefined data controls, but I
can't find anything on simply querying a database for values and using
those values to display a page as I want.My basic end goal is to create what's basically a shopping site like Amazon only for about 100 or so products.Thanks
in advance for any help.  I'm just getting into Visual Web
Developer so please excuse my ignorance and lack of posts.

View Replies !
Adding A New Table Of Visual Web Developer
hi i added a new table to my existing database in visual web developernow when i am running this i get an error Invalid object name 'TestTable'.with this sql command         string sqlCmd = "INSERT INTO [TestTable] ([Employee], [Client] ,[Project] ,"+        "[TimeSpent],[TimeSpentOnline] ,[Description],[Incident], [Billable],[AfterHours],[Pending],"+        "[OnSite] ,[WorkOrder]) VALUES( '" + employee + "' ,'" + client + "','" + project + "','"        + timeSpent + "','" + timeSpentOnline + "','" + desc + "'," + iactive + "," + bactive + "," + ahactive + "," +        pactive + "," + osactive + "," + woactive + ")"; but it was working fine i was using this table which is exactly the same thing just a different name ..by the way i didnt create the tracking table         string sqlCmd = "INSERT INTO [Tracking] ([Employee], [Client] ,[Project] ,"+        "[TimeSpent],[TimeSpentOnline] ,[Description],[Incident], [Billable],[AfterHours],[Pending],"+        "[OnSite] ,[WorkOrder]) VALUES( '" + employee + "' ,'" + client + "','" + project + "','"        + timeSpent + "','" + timeSpentOnline + "','" + desc + "'," + iactive + "," + bactive + "," + ahactive + "," +        pactive + "," + osactive + "," + woactive + ")";  i have already double checked the data types and also have made sure that everything was saved properly..... Can any one plz help me out on this  

View Replies !
SQL Server Database To Be Used In Visual Web Developer
hi., i need help.,i Created a database using the SQL Server 2005 Express   SQL Server Management Studio Express (SQL Server MSE)but i don't know how can i get the database that i made to put it in the Folder "App_Data" in my Visual Web Developer (VWD). is there any process or something to connect my database that i make using the SQL Server MSE to the VWD?Please help me, THanks 

View Replies !
Cannot Attach A Visual Web Developer Created DB In SQL SMS
I'm trying to attach to my database that Visual Web Developer Express (VWD) created through SQL SMS, however I cannot.  When I try to locate the database, the file tree stops at: c:Documents and SettingsMeWhen I check the location in VWD, it shows my database at:c:Documents and SettingsMeMy DocumentsVisual Studio 2005WebsitesmySiteAPP_DATAASPNETDB.MDF When I navigate in explorer, the file is there.  When I try to copy and paste the address, SQL SMS gives me an error of:Access Denied. Error 5133 I have shut down all process using the database. Ideas?

View Replies !
Visual Web Developer && Server 2005
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 Replies !
Inserting Images Into 'MS Visual Web Developer'
Hi,

Can anyone help me on;

how to insert an image into 'MS Visual Web Developer'?

I would be v. helpful for your help

 

From Dec(15)

View Replies !
Can't Connect With Visual Web Developer Express
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 Replies !
Cannot Attach A Visual Web Developer Created DB In SQL SMS
I'm trying to attach to my database that Visual Web Developer Express (VWD) created through SQL SMS, however I cannot. 

When I try to locate the database, the file tree stops at:

c:Documents and SettingsMe

When I check the location in VWD, it shows my database at:

c:Documents and SettingsMeMy DocumentsVisual Studio 2005WebsitesmySiteAPP_DATAASPNETDB.MDF

 When I navigate in explorer, the file is there.  When I try to copy and paste the address, SQL SMS gives me an error of:

Access Denied. Error 5133

 I have shut down all process using the database.

 Ideas?

View Replies !
SQL Management Studio &&amp; Visual Web Developer
OK ... so like thousands of others I am a Visual Studio Newbie. I want to learn, I want an ASP website, I have worked hard with Visual Web Developer, bought the books read the articles .... then bang walked into SQL ... ouch ... that did hurt !!

Downloaded SQL Management Studio ... thought I had found the solution. Like all the Express products it looks great ......so what is the problem ?  It is a simple problem and from looking at hundreds of other forum posts it seems I am not alone !!

Nobody has provided a simple guide to the steps you need to take to get  MDF's out of Visual Web Developer onto a Server. (in my case 2005) - ideally written by an expert who can avoid the temptation of wondering into 'techguruspeak'.

I know nothing is straightforward - I accept that it may depend on your hosting setup - but when you are going round and round in circles just a few arrows showing the way out of the circle will stop you falling over (ouch ... not again !!) and start you on the pathway towards success. 

So can someone please explain the process of transferring databases from VWD through SQL Management Studio. All I want to do is get the site up .... make progress ... get motivated ....then I will come back and start tweaking !!

So is there anyone out there who can write :A 'simple step by step guide for newbies' for moving VWD databases to SQL Server' in words us morals can understand !

No quesswork please ... let's have someone who can run SQL transfers from VWD while blindfolded ... at least that way we will have something in common !! 

If you are that SQL 'superstar' who has used the Studio packages  ...  you have a unique opportunity to make 'thousands of people very happy' .... that can't happen every day !!

 

 

 

View Replies !
SQL Server Insert, Visual Web Developer
i have visual web developer make the asp.net.mdf that it auto made, for the users and roles, i added 2 more coloms to the database in the membership table called address and phone



when i make a sqldatasource and give it a select and insert command, i also give it a couple dummy values to test it this is my code,

Protected Sub CreateUserWizard1_CreatedUser(ByVal sender As Object, ByVal e As System.EventArgs)
SqlDataSource1.InsertCommand = "INSERT INTO aspnet_Membership(Address, Phone) VALUES ('9', '2')"
End Sub
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:saveaddnphone %>" SelectCommand="SELECT Address, Phone FROM aspnet_Membership"></asp:SqlDataSource>





Instance failure.
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.InvalidOperationException: Instance failure.

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:


[InvalidOperationException: Instance failure.]
System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +437
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.Web.DataAccess.SqlConnectionHolder.Open(HttpContext context, Boolean revertImpersonate) +84
System.Web.DataAccess.SqlConnectionHelper.GetConnection(String connectionString, Boolean revertImpersonation) +197
System.Web.Security.SqlMembershipProvider.CreateUser(String username, String password, String email, String passwordQuestion, String passwordAnswer, Boolean isApproved, Object providerUserKey, MembershipCreateStatus& status) +3612
System.Web.UI.WebControls.CreateUserWizard.AttemptCreateUser() +305
System.Web.UI.WebControls.CreateUserWizard.OnNextButtonClick(WizardNavigationEventArgs e) +105
System.Web.UI.WebControls.Wizard.OnBubbleEvent(Object source, EventArgs e) +453
System.Web.UI.WebControls.CreateUserWizard.OnBubbleEvent(Object source, EventArgs e) +149
System.Web.UI.WebControls.WizardChildTable.OnBubbleEvent(Object source, EventArgs args) +17
System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +35
System.Web.UI.WebControls.Button.OnCommand(CommandEventArgs e) +115
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +163
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5102

View Replies !
Sql Connection Failed Because Of Connection Failure Login Failed For User 'SW8/Guest
Sir i am trying to connect sql from my LAN to my networked computers but whenever i tried to register it through Enterprise manager i get following "SQL Server registration failed because of the conection failure displayed below.Do you wish to Register anyway? Login failed for user 'SW17/Guest'

where SW17/ is my another computer name...
i have checked tcp and named pipes
and confirm username for sql authentication too
please help me as i being late submit my project

View Replies !
Error Connecting To A Database In Visual Web Developer
when i am running both sql server management studio and beb developer and i try to connect to a database in web developer simultaneously it gives me errorfile used by another process  file located on UNC sharebut if i am only running web developer it gives me no  errorso please tell me how to connect to a same database simultaneously 

View Replies !
Visual Web Developer Search Button For Database
Hi, i am now using the visual web developer 2005 express edition. i have tried to create a search button to search for my SQL database by using the VB in VWD. i tried to enter the code but i dun seems to get it right... can any 1 help me by teaching me steps" by steps".?

View Replies !
Visual Web Developer Edition Express 2005
Hey has anyone tried the new Visual Web Developer you can download on microsoft site for free?? What do you think of it?? HAs SQL Server 2005 Express

http://msdn.microsoft.com/vstudio/e.../features/data/

View Replies !
Need Help Managing NULL Values In SQL - Visual Web Developer
Hi to all and thanks in advance.
 I´m newbie with SQL Server & VWD Studio, and I´m trying to develop a little web application.
The issue is that my application can´t upgrade the DB fields if you introduce a NULL value.
When I created the table, I denied the NULL value introduction. I cant insert NULL values using the SQL Server Management Studio, but I can introduce these values using code.
Do someone have any suggestion to hadle properly this issue ?

B/R

View Replies !
Trouble In Installing Visual Web Developer 2005 SP
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 Replies !
Problem Executing A Stored Procedure From Visual Web Developer
Hi, i'm using visual web developer 2005 express and visual basic .net, and sql server, i'm trying to execute a stored procedure to make a bulk insert from a text file into sql server table, but i'm facing problems when i get here:  Dim myCommand As New SqlClient.SqlCommand(strsql1, objConn)            'Try            myCommand.CommandType = Data.CommandType.StoredProcedure            myCommand.Parameters.AddWithValue("path", "C: est.txt")            myCommand.Connection.Open()            myCommand.ExecuteNonQuery()            myCommand.Connection.Close()            myCommand.Dispose()   when i get to the line in bold i receive a message saying that couldn't find the file "Cannot bulk load. The file "C: est.txt" does not exist." , but the file is there on C: and visual web developer can't find it. Bellow i pasted the stored procedure. Seems that my code can't find the file. set ANSI_NULLS ONset QUOTED_IDENTIFIER ONgoALTER PROCEDURE [dbo].[sp_ed_insert]@Path varchar(max)AS--Step 1: Build Valid BULK INSERT StatementDECLARE @SQL varchar(2000) BEGIN  -- Valid format: "John","Smith","john@smith.com"  SET @SQL = "BULK INSERT Ed_order_temporary FROM '"+ @Path +"' WITH (FIELDTERMINATOR = '"",""') " END--Step 2: Execute BULK INSERT statementEXEC (@SQL)--Step 3: INSERT data into final tableINSERT Ed_order (ed_order_number)SELECT  CASE WHEN order_header = 'O' THEN SUBSTRING(ed_order_number,1,DATALENGTH(ed_order_number)-1)end                       FROM Ed_order_temporary--Step 4: Empty temporary tableTRUNCATE TABLE Ed_order_temporary  Any help is welcome. Thanks. 

View Replies !
Microsft SQL Server && Visual Web Developer 2005 Express
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 Replies !
Import SQL Server Express Database Into Visual Web Developer
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 Replies !
Help Me! How Can I Use SQL Server Subreports In Visual Web Developer Express Edition
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 Replies !
Why Can't I Acces My SQL Server 2005 Db After Working With Visual Web Developer?
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 Replies !
Creating A Calculated Field From Within VWD? (Visual Web Developer Express)
I'm trying to create a calculated field using SQL Server Express, from within the Visual Web Developer Express 2008 IED.  The field I am trying to create is called "total" and is supposed to be the sum of the subtotal, salestax, and shipping fields.

Is this possible from within VWD 2008?  How?


Thank you!!!

View Replies !
How Does One Install A Express Sql Server To Run With Visual Web Developer 2008?
I successfully installed .NET framework v 3.5 and VWD 2008 on a new Vista laptop. When I want to add a Sql Server database to a website, errors tell me to install SS 2005 Express. MSDN SS 2005 Express download tells me I MUST  first install .NET framework v 2.0 before SS 2005. When I try to install framework v 2.0, I'm sent to v. 3.5 and no way to download SS 2005.
 
How does one install a express sql server to run with Visual Web Developer 2008?   

View Replies !
Problem In Deploying The Website Developed In Visual Web Developer 2005
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 Replies !
How To Configure Visual Studio 2005 To Use SQLServer Developer Edition?
Hi,
I would like to know How to configure Visual Studio 2005 to use SQLServer developer edition and not the SQLExpress edition?
Thanks,
Danny

View Replies !
Visual Web Developer On Remote Host SQL Problem -- Newbie Question
Hi,
I just downloaded Visual Web Developer Beta 2.0 and the club starter kit.  I created a new web project using the kit and it worked fine.  I can run the site locally without problems.  Howevere, when I ftp my files over to my web hosting site and try to run the site there I get the error message shown below.  Is there a configuration file that I missed updating or is this an issue on the web hosting site?
 Thanks for your help. Server Error in '/' Application. --------------------------------------------------------------------------------
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) 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.Data.SqlClient.SqlException: 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)
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): 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)]   System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +734979   System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +188   System.Data.SqlClient.TdsParser.Connect(Boolean& useFailoverPartner, Boolean& failoverDemandDone, String host, String failoverPartner, String protocol, SqlInternalConnectionTds connHandler, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, SqlConnection owningObject, Boolean aliasLookup) +820   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) +130   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.Repeater.GetData() +50   System.Web.UI.WebControls.Repeater.CreateControlHierarchy(Boolean useDataSource) +232   System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e) +53   System.Web.UI.WebControls.Repeater.DataBind() +72   System.Web.UI.WebControls.Repeater.EnsureDataBound() +55   System.Web.UI.WebControls.Repeater.OnPreRender(EventArgs e) +12   System.Web.UI.Control.PreRenderRecursiveInternal() +77   System.Web.UI.Control.PreRenderRecursiveInternal() +161   System.Web.UI.Control.PreRenderRecursiveInternal() +161   System.Web.UI.Control.PreRenderRecursiveInternal() +161   System.Web.UI.Control.PreRenderRecursiveInternal() +161   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1360

View Replies !
SQL Or Visual Web Developer 2005 To Arrange Phone Number Formatting?
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 Replies !
Getting Up And Running With Visual SQL Server 2005 Express And Visual Web Developer 2005 Express
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 Replies !
Problem Reading A Text File With Visual Web Developer 2005 Express
Hi, my name is Bonfa, i'm working with visual web developer 2005 express and visual basic and sql server, i'm trying to import one file using the bulk function in sql server, in the visual web developer i just call the method to execute the stored procedure, but i'm facing a problem that says: "Bulk load: An unexpected end of file was encountered in the data file/The OLE DB provider "BULK" for linked server "(null)" reported an error./The provider did not give any information about the error. " and i couldn't do this yet. I don't know what's happening, because i'm passing the file to the stored procedure in the exact way it should be passed, and how could the sql server find some end of file characters inside the file? I need help. Any help are welcome.Here are some parts of my code: Dim strsql1 As String = "sp_insert"            Dim myCommand As New SqlClient.SqlCommand(strsql1, objConn)            Try                myCommand.CommandType = Data.CommandType.StoredProcedure                myCommand.Parameters.AddWithValue("path", "C:TestOrders.txt")                myCommand.Connection.Open()                myCommand.ExecuteNonQuery()                myCommand.Connection.Close()                myCommand.Dispose()            Catch ex As Exception            End Try  set ANSI_NULLS ONset QUOTED_IDENTIFIER ONgoALTER PROCEDURE [dbo].[sp_insert]@Path varchar(max)AS--Step 1: Build Valid BULK INSERT StatementDECLARE @SQL varchar(2000) BEGIN  -- Valid format: "John","Smith","john@smith.com"  SET @SQL = "BULK INSERT temporary FROM '"+@Path+"' WITH (FIELDTERMINATOR = '"",""', rowterminator = '')" END--Step 2: Execute BULK INSERT statementEXEC (@SQL)--Step 3: INSERT data into final tableINSERT order (header,order_number)SELECT SUBSTRING(header,2,DATALENGTH(header)-1), order_numberFROM temporary --Step 4: Empty temporary tableTRUNCATE TABLE temporary  

View Replies !
Error Connecting To The Sqlserver Express Edition From Visual Web Developer 2005
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 Replies !
Does Visual Web Developer Express Edition Works With Ms 2000 Database Service?
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 Replies !
Problem Installing SQL 2005 Developer + Express And Visual Studio 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 Replies !
Trouble Installing Reporting Add-In For Microsoft Visual Web Developer 2005 Express
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 Replies !
UNABLE TO ESTABLISH USER INSTANCE - Visual Web Developer 2005 Edition
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 Replies !
Sql Express Sp2 Issue/ Visual Web Developer Stopped Connecting To Data Bases.
Nothing else at MSDN worked. This did.

Using: XP Home Edition SP2

           SQL Express Edition SP2

           SQL Studio 2005 Express

 My answer at http://cgbellscreativelabs.net/SqlSP2Issue.aspx.

 I used redirection to Show you. It makes for a cleaner walk through.

 

View Replies !
Error - SQL Server Default Settings / Visual Web Developer Express 2008
I would occasionally get the error below when trying to access a database in my project/App_Data folder using Visual Web Developer Express 2008.
 
I would re-boot and the problem would go away.
 
I now have the problem all the time and am unable to access my database file in the App_Data folder nor ASPNETDB.mdf.
 
I am not trying to access a remote database. I have not knowingly changed any settings.
 
Has anyone seen this problem?
 
Can anyone help?
 
Thanks,
Charles Smith
 
 
ERROR MESSAGE:
€¦ under the default settings SQL Server doesn't allow remote connections. (provider: SQL Network Interfaces, error 26 €“ Error locating Server/Instance specified)
 

View Replies !
Letting Users Who Visit A Website Add Records To A Sql Server Database Using Visual Studio Web Developer Express Edition 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 Replies !
Failed Install Of SQL Server 2005 Developer Edition On Win XP Pro
I've tried installing SQL Server 2005 Developer Edition 3 times now, from 2 different CDs. I keep failing with the same error message: "SQL Server Setup Failed to compile the Managed Object Format (MOF) file C:Program FilesMicrosoft SQL ServerMSSQL.1MSSQLBinnetwcls.mof. To proceed, see "Troubleshooting an Installation of SQL Server 2005" or "How to: View SQL Server 2005 Setup Log Files" in SQL Server 2005 Setup Help documentation."
 
 
This is the bottom of the SQLSetup0001_<machine name>_SQL.log
 
 
Doing Action: Do_sqlMofcomp
PerfTime Start: Do_sqlMofcomp : Fri Jan 27 14:33:07 2006
<Func Name='InstallMOF'>
Failed to compile file C:Program FilesMicrosoft SQL ServerMSSQL.1MSSQLBinnetwcls.mof.
An error occured while processing item 1 defined on lines 16 - 18
Error occured in phase 3, Error number: 0x80041001
Compiler returned error 0x80041001
<EndFunc Name='InstallMOF' Return='-2147217407' GetLastError='183'>
        Error Code: 0x80077349 (29513)
Windows Error Text:   Source File Name: sqlcasqlmofca.cpp
Compiler Timestamp: Tue Aug  9 01:14:18 2005
     Function Name: Do_sqlMofcomp
Source Line Number: 608
 
 
---- Context -----------------------------------------------
 
 
Setting status of unmanaged components and removing unmanaged resources
 
 
Error Code: 29513
MSI (s) (40!00) [14:40:59:034]: Product: Microsoft SQL Server 2005 -- Error 29513. SQL Server Setup Failed to compile the Managed Object Format (MOF) file C:Program FilesMicrosoft SQL ServerMSSQL.1MSSQLBinnetwcls.mof. To proceed, see "Troubleshooting an Installation of SQL Server 2005" or "How to: View SQL Server 2005 Setup Log Files" in SQL Server 2005 Setup Help documentation.
 
Error 29513. SQL Server Setup Failed to compile the Managed Object Format (MOF) file C:Program FilesMicrosoft SQL ServerMSSQL.1MSSQLBinnetwcls.mof. To proceed, see "Troubleshooting an Installation of SQL Server 2005" or "How to: View SQL Server 2005 Setup Log Files" in SQL Server 2005 Setup Help documentation.
<Func Name='GetCAContext'>
<EndFunc Name='GetCAContext' Return='T' GetLastError='203'>
Doing Action: Do_sqlMofcomp
PerfTime Start: Do_sqlMofcomp : Fri Jan 27 14:40:59 2006
<Func Name='InstallMOF'>
Failed to compile file C:Program FilesMicrosoft SQL ServerMSSQL.1MSSQLBinnetwcls.mof.
An error occured while processing item 1 defined on lines 16 - 18
Error occured in phase 3, Error number: 0x80041001
Compiler returned error 0x80041001
<EndFunc Name='InstallMOF' Return='-2147217407' GetLastError='183'>
        Error Code: 0x80077349 (29513)
Windows Error Text:   Source File Name: sqlcasqlmofca.cpp
Compiler Timestamp: Tue Aug  9 01:14:18 2005
     Function Name: Do_sqlMofcomp
Source Line Number: 608
 
 
---- Context -----------------------------------------------
 
 
Setting status of unmanaged components and removing unmanaged resources
 
 
Error Code: 29513
 
 
I'm at a complete loss, but I am sure the error is something about the configuration with this computer. I have fond a couple of posts on other web sites where people have similar errors, but no feedback on the error or even ideas on what to look at.
 
ANY recommendations would be helpful!!
 
Thank you,
 
Jay A. Moritz

 

View Replies !
Failed OLEDB Connection: Cannot Aquire Connection From Connection Manager
I have a package that uses a for loop to iterate through an unknown amount of excel files and pull their data into a table.  However, there will be cases when the file is corrupted or has some sort of problem so that either the transformation will fail or the excel data source will fail with an oledb connection error.
Could anyone suggest a clean way to trap these errors?  Specifically, the "Cannot Aquire Connection from Connection Manager", which is the excel connection.
 
Thanks,
 
John T

View Replies !
Fix For Transmission_status Message Connection Handshake Failed [...] The Logon Attempt Failed
Full message:

Connection handshake failed. An OS call failed: (8009030c) 0x8009030c(The logon attempt failed). State 66

 

Under these conditions, setting trustworthy on on the sending and receiving databases will solve this issue

1) Communicating between multiple instances

2) Using Kerberos security (NT Authentication, i.e. not certificates)

View Replies !
DB2OLEDB Failed To Install On SQL Server 2005 Developer Edition
I have SQL Server 2005 Developer Edition installed on XP Pro sp2 and have not been able to get OLE DB Provider for DB2 Version 1.0 with Service Pack 1 to install.  After getting a notice that the install has failed, I get these log files:
 
=== Logging started at: 2:12:35 PM Monday, August 20, 2007 Build: 7.0.3038.0 Calling process: H:SQL2005DB2OLEDB7Setup.exe === The current user is NORTHGRUMdinsest. Computer name: DICA2ESITE13005 OS Version: 5.1 Build: 2600 Service Pack: 2.0 Suite: 256 Product Type: 1
[2:12:35 PM Info] Command Line: H:SQL2005DB2OLEDB7Setup.exe
[2:12:35 PM Info] Language: 1033
[2:12:59 PM Info] Raw module path: H:SQL2005DB2OLEDB7Setup.exe
[2:12:59 PM Info] Universal module path: H:SQL2005DB2OLEDB7Setup.exe
[2:12:59 PM Info] Current version of msi.dll is: 3.1 build: 4000 platform: 2
[2:12:59 PM Info] Raw module path: H:SQL2005DB2OLEDB7Setup.exe
[2:12:59 PM Info] Universal module path: H:SQL2005DB2OLEDB7Setup.exe === Logging stopped: 2:12:59 PM Monday, August 20, 2007 === === Logging started at: 2:13:00 PM Monday, August 20, 2007 Build: 7.0.3038.0 Calling process: C:DOCUME~1dinsestLOCALS~1TempEBZ34671.tmpSetup.exe === The current user is NORTHGRUMdinsest. Computer name: DICA2ESITE13005 OS Version: 5.1 Build: 2600 Service Pack: 2.0 Suite: 256 Product Type: 1
[2:13:00 PM Info] Command Line: H:SQL2005DB2OLEDB7Setup.exe /Relaunch /RunningFromTemp /SetupXML C:DOCUME~1dinsestLOCALS~1TempEBZ34671.tmpHISDB2_x86.xml
[2:13:00 PM Info] Language: 1033
[2:13:00 PM Info]
[2:13:00 PM Info] Running prehook init function
[2:13:00 PM Info] Entering PreInitHook
[2:13:00 PM Info] Detecting Sql Server 2005 (32bit)
[2:13:00 PM Info] Enumerating Sql Server 2005 instances from SoftwareMicrosoftMicrosoft SQL ServerInstance NamesSQL
[2:13:00 PM Info] Checking SQL version and edition for: SoftwareMicrosoftMicrosoft SQL ServerMSSQL.1Setup
[2:13:00 PM Info] Got Version 9.2.3042.00
[2:13:00 PM Info] Got edition Developer Edition
[2:13:00 PM Info] Done enumerating Sql Server 2005 instances, original hr = 00000000
[2:13:00 PM Info] Done enumerating Sql Server 2005 instances, hr = 00000000
[2:13:00 PM Info] Done detecting Sql Server 2005, hr = 00000000
[2:13:00 PM Info] Detecting existing integration server installations
[2:13:00 PM Info] Integration server is not installed
[2:13:00 PM Info] Done detecting existing integration server installations, hr = 00000000
[2:13:00 PM Info] Leaving PreInitHook (hr = 00000000)
[2:13:00 PM Info] Prehook Init function returned: 0.
[2:13:00 PM Info] Prehook Init function returned the following mode: 0
[2:13:01 PM Info] Product code: {722CAF00-DE6E-4438-82DE-E664B8B6222B}
[2:13:01 PM Info] Product name: Microsoft OLE DB Provider for DB2
[2:13:01 PM Info] Product PIDSKU: BI6-00082
[2:13:01 PM Info] Product Code (MPC): 91197
[2:13:01 PM Info] OEMID:
[2:13:01 PM Info] Product is not already installed.
[2:13:01 PM Info] Successfully opened Msi package: H:SQL2005DB2OLEDB7Msix86HISDB2.msi
[2:13:01 PM Info] Raw module path: C:DOCUME~1dinsestLOCALS~1TempEBZ34671.tmpSetup.exe
[2:13:01 PM Info] Universal module path: C:DOCUME~1dinsestLOCALS~1TempEBZ34671.tmpSetup.exe
[2:13:10 PM Info] Initializing Component Updater ...
[2:13:10 PM Info] Initialized Component Updater
[2:13:10 PM Info] No updates were found on the SUS server to download.
[2:13:14 PM Info] Required platform components:
[2:13:20 PM Info] Initializing Component Updater ...
[2:13:20 PM Info] Initialized Component Updater
[2:13:20 PM Info] No updates were found on the SUS server to download.
[2:13:20 PM Info] Required platform components: (none)
[2:13:20 PM Info] MSI command line: ADDLOCAL=REQUIRED_FEATURE,OLE_DB_PROVIDER_FOR_DB2 INSTALLDIR="C:Program FilesMicrosoft OLE DB Provider for DB2" PIDKEY="R2D433DHG9DQ79WW3DXQ929DY" USERNAME="Northrop Grumman Corporation" COMPANYNAME="NGGN" FILESINUSEERROR=""
[2:13:20 PM Info] MSI command line is ADDLOCAL=REQUIRED_FEATURE,OLE_DB_PROVIDER_FOR_DB2 INSTALLDIR="C:Program FilesMicrosoft OLE DB Provider for DB2" PIDKEY="R2D433DHG9DQ79WW3DXQ929DY" USERNAME="Northrop Grumman Corporation" COMPANYNAME="NGGN" FILESINUSEERROR=""
[2:13:20 PM Info] Detailed Log information for product H:SQL2005DB2OLEDB7Msix86HISDB2.msi is available at DetailedLog
[2:13:20 PM Info] MSI installation returned 2 - The system cannot find the file specified.
[2:13:20 PM Error] Error 0 occurred during MSI installation.
[2:13:20 PM Error]
[2:13:20 PM Error] === Logging stopped: 2:13:25 PM Monday, August 20, 2007 ===
 
 
 
Detailed Log
 
=== Verbose logging started: 8/20/2007  14:13:20  Build type: SHIP UNICODE 3.01.4000.2435  Calling process: C:DOCUME~1dinsestLOCALS~1TempEBZ34671.tmpSetup.exe ===
MSI (c) (E4C) [14:13:20:343]: Resetting cached policy values
MSI (c) (E4C) [14:13:20:343]: Machine policy value 'Debug' is 0
MSI (c) (E4C) [14:13:20:343]: ******* RunEngine:
           ******* Product: H:SQL2005DB2OLEDB7Msix86HISDB2.msi
           ******* Action:
           ******* CommandLine: **********
MSI (c) (E4C) [14:13:20:343]: Client-side and UI is none or basic: Running entire install on the server.
MSI (c) (E4C) [14:13:20:343]: Grabbed execution mutex.
MSI (c) (E4C) [14:13:20:359]: Cloaking enabled.
MSI (c) (E4C) [14:13:20:359]: Attempting to enable all disabled priveleges before calling Install on Server
MSI (c) (E4C) [14:13:20:359]: Incrementing counter to disable shutdown. Counter after increment: 0
MSI (s) (B88) [14:13:20:374]: Grabbed execution mutex.
MSI (s) (B8:90) [14:13:20:374]: Resetting cached policy values
MSI (s) (B8:90) [14:13:20:374]: Machine policy value 'Debug' is 0
MSI (s) (B8:90) [14:13:20:374]: ******* RunEngine:
           ******* Product: H:SQL2005DB2OLEDB7Msix86HISDB2.msi
           ******* Action:
           ******* CommandLine: **********
MSI (s) (B8:90) [14:13:20:374]: Machine policy value 'DisableUserInstalls' is 0
MSI (s) (B8:90) [14:13:20:406]: MainEngineThread is returning 2
MSI (c) (E4C) [14:13:20:421]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied.  Counter after decrement: -1
MSI (c) (E4C) [14:13:20:421]: MainEngineThread is returning 2
=== Verbose logging stopped: 8/20/2007  14:13:20 ===
 

 
Does anyone have an idea as to why the installation is failing?
 
TIA,
Steve
 
P.S.  Those aren't really smileys, they're actually semicolon Ds but I can't seem to get rid of the cartoon translation, even after checking the "This post contains a code sample" checkbox.

View Replies !

Copyright © 2005-08 www.BigResource.com, All rights reserved