Urban Legend - SqlSvrExpress Works In Production Web Site!!

Aug 4, 2006

After days of trying to deploy my web application along with the ASPNETDB database I am convinced this is actually just an attempt on the part of the MSFT developers to drive us nuts.

It simply will not work. As reported by everyone in all of the forums, it works fine in development but does not work when deployed. If I move my data to a full SQL Server instance and modify all of my connection strings accordingly, it works fine, as well. It just does not work when I publish the app and try to run it using the AttachDBFilename methodology. I am convinced that only Santa Claus or an honest lawyer can make it work.

Let's recap the steps: first, I create the folder that I want to use for production and give Modify permissions on that folder to <machine>ASPNET and NETWORK SERVICE. Then I open up IIS Administrator and create a new virtual directory that points to that folder and set its permissions to include Write. I check the ASP.NET tab and it's set for 2.0. Now I switch back to VS2005 and publish my web application directly to the target folder.

Feeling optimistic, I go right to IE and bring up the site. Looks good until I attempt to login. That's when I get the first error - Failed to generate a user instance of SQL Server due to a failure in copying database files. The connection will be closed.

From there I start through the forums and try every one of the solutions proposed, even though none of them specifically identify this error wording. I know I should have used the wording from the Exception "Details" - except they state exactly the same thing - what was I thinking? I thought the .NET developers did away with the error message authors from the old days but it looks like they're back with a vengence.

Somewhere along the way I am able to get past that first error. Unfortunately, I've made so many changes I don't know which combination actually worked. But it doesn't matter because now the database is refusing to let <machine>ASPNET login! Okay, so I use SSME and create a login attach the database and create a user (none of which is supposed to be required for UserInstance=true). Detach the database and try IE again. You guessed it - still won't work. Now it can't generate the user instance because a database by that name already exists, or the user doesn't have permissions, or it's Friday and the machine wants to leave early - I give up.

So, at this point, I'm pretty much finished with SQLExpress for anything other than my development environment.

View 2 Replies


ADVERTISEMENT

DTS Fails At Customer Site With Too Many Columns, Works Locally

Nov 16, 2004

I am having the most baffling problem with DTS.... :confused:

I have a set of ActiveX transforms that execute on my customers flat transaction data files, destination a single database table. Since they switched to a new method of generating the flat file using SAS, the DTS package mysteriously will fail at a couple select records. The error is always the same, and turning on error logging in DTS yielded this:

Step 'DTSStep_DTSDataPumpTask_1' failed

Step Error Source: Microsoft Data Transformation Services Flat File Rowset Provider
Step Error Description:Too many columns found in the current row; non-whitespace characters were found after the last defined column's data.
Step Error code: 80043013
Step Error Help File: DTSFFile.hlp
Step Error Help Context ID:0

Step Execution Started: 11/16/2004 6:37:51 PM
Step Execution Completed: 11/16/2004 6:39:39 PM
Total Step Execution Time: 107.415 seconds
Progress count in Step: 515000

The exact same file parses all the way through on my laptop, with the same DTS package. Tests have revealed no strange characters or whitespaces in the data file, not at that record (running a Test... on any of the active x transforms will fail at row 515186 always, until that row is deleted and it fails on some subsequent row - this iteration went on at the customer site until about 5 rows were deleted this month and it finally worked), not at any other records. My database and the customer database are both using the same, default character set.

The only microsoft KB article referencing anything resembling my problem is
http://support.microsoft.com/default.aspx?scid=kb;en-us;292588
but this does not hold because I am not specifying fixed width, but rather comma delimited.

If anyone has any ideas about what other environmental variables are coming into play here, please let me know - I'm at the end of my rope. I believe we are both patched up to SQL 2000 SP3. They have an XP client connecting to a 2003 server; I have an XP client/server. Neither machine has the NLS_LANG environment variable set.

View 6 Replies View Related

How Can I Reset The Primary Key Field Numbers To Zero Before Uploading My Site To The Production Sever

Apr 13, 2007

I have been testing my database application for a while now. As a result i have a lot of records already with their respective identity field values. What i want to do is to reset this field to 0 (zero) before i deploy the aplication. I have tried deleting all the records and entered one to see if the id will be 1 but it still starts from where it was before i deleted the records. Any ideas.

View 2 Replies View Related

Question About Chart Legend

Aug 9, 2007



I have a chart and i am populating it from a sproc.

In the Legend i am getting InvestmentPercent.Value- InvestmentName.Value - InvestmentPercent.Value

How can I just display InvestmentPercent.Value - InvestmentName.value

In the graph it looks

3- cash -3
38 - FixedIncome -38

how can I set this thing right...
Regards
Karen

View 8 Replies View Related

Resize Chart Legend

Apr 16, 2008

I have added a pie chart to my report but the legend is not wide enough. Is there a way of altering the width of the legend?

View 1 Replies View Related

Colour Of The Series In Legend

Jan 9, 2007

I have few chart based reports where I am showing different costs in series. I want to fix the colour of each type of cost so that I can maintain the same colour for each cost in different reports.

Is it possible?? If yes, then please let me know.

Thanks in advance!!!

View 1 Replies View Related

Having Custom Legend To Pie Charts

Aug 26, 2007

Hi All,

what I want is a custom Legend for the Pie Chart.

I have followed this article and have done what was written under

Custom Chart Color Palettes and Legends
http://msdn2.microsoft.com/en-us/library/aa964128.aspx#moressrscharts_topic4

But still the color of the legend is not uniform.
Basically I am using a stored procedure which returns two values : Circle, Total based on a parameter called Customer.
1. I have pasted the code asked in the Code Section of the report.
2. Have Disabled the 'Show Legend' box in Chart Properties.
3. Have included the following code in the Values->Appearance->Series Styel->Fill

=Code.GetColor(Fields!Circle.Value)
4. In the Category groups ->Group on-> this is my expression =Fields!Circle.Value (Basically I am not sure where
should I include Circle Field. I have tried this both by putting it in Category Groups and Series Groups.)
5. Dragged and dropped new table and have done the following

a.table1->Properties->Groups->Add->General->Group on Expression Fields!Circle.Value
b.Deleted Detail row.
c.Dragged and dropped rectangle in the column value and set the background value to =Code.GetColor(Fields!Circle.Value)


When I run the report for different customers the colors are not remaining constant. I have 17 values for Circles. So included three more colors in the "colorPalette " variable..

After doing all this still I am not able to get the same colors. Could someone tell me where I am going wrong?

View 1 Replies View Related

(very Newb) Created A Legend For Reports But................

May 7, 2008

.......I need to know how to have that displayed before the reports are ran. I'd like to have in the Report Parameters area so users can see this information when making choices for the reports.

View 1 Replies View Related

Lift Chart / Data Mining Legend

Jul 17, 2006

Hi,


I am having trouble really understanding what makes a model accurate and effective at predicting some attribute. I can't seem to find any clear documentation about the mining legend of the lift chart on the Mining Accuracy Chart tab when working with the Data Mining Structure designer in VS 2005. Specifically, I would like to know more about what numbers in the Score, Population Correct and Predict Probability columns mean, and why they change when you move the vertical gray bar on the Lift Chart. Also, what is generally a good score to be aiming for, provided that it is highly difficult to get 100% accuracy with the kind of data that I am using.

Any more information on this subject is much appreciated. Thank you for your time,

Chris Burns

View 1 Replies View Related

Setting The Legend Color On A Stacked Bar Chart

Jan 17, 2007

I am trying to develop a report that will show a 100% stacked bar graph for many teachers. Each teacher will have there own graph. The series in the report are the percent of scores given on a test, with each test in a group. Scores are given on a scale of 1-4. Most of the time a teacher will have all fours scores in there data; however it is possible to only have 2 or 3 of the scores. How can I set the legend up so that all scores across all the graphs show the same color for the same data series? Right now I get something like this.
First Graph
4: Lime
3: Purple
2: Blue
1: Green
Second Graph (no values for 1 or 2)
4: Blue
3: Green

I need the second graph to be
4: Lime
3: Purple

View 5 Replies View Related

Reporting Services :: NaN In SSRS Pie Chart Legend

Sep 1, 2015

I have a Pie Chart report that works well until Users discovered that when values are 0% or less across the chart, the Legend returns NaN. How do I format the Legend to return 0% instead of the NaN that Users do not want to see. Below is my express for the Legend Property="#AXISLABEL" & " - " & "#PERCENT{P0}".

View 5 Replies View Related

Reporting Services :: SSRS 2008 Legend Sorting?

Jun 10, 2009

Is there anyway in SSRS 2008 to sort the Legend on a chart?  Right now I am unsure as to how it is currently sorting.  I see a property to Reverse the order, but I don't see anything to alphabetize it.

View 8 Replies View Related

Reporting Services :: How To Write Custom Legend Text

Oct 23, 2015

I was trying to write a custom legend text for a chart that I have in SSRS. In the chart I have a Bar chart and a Line chart. I have two values coming from a dataset. One is a running value. All the series values are from year dataset.

I need to get a custom legend text for the three data series looking like this. "2013- Mth", "2014-Mth". Year should be dynamic and coming from the dataset.

I tried writing an expression in the series legend option as shown below.

But I don't get the required text for the chart. I only get the default series text for the legend. If I only write a text without the dynamic year taken from the dataset columns I get the custom text. But not when I concatenate the dynamic year series with the static text. Any property to enable/disable?

View 2 Replies View Related

Reporting Services :: Possible To Remove Tick Marks On Horizontal Axis Legend

Jun 22, 2015

Is it possible to remove the tick marks that I have circled in red?The chart has data Week by week over a year, and the T1, T2 etc are equivalent to Quarter1, Quarter 2 etcI've got a 3 level grouping, with the top level being Year, then Quarter, then Week. The label for the "Week" grouping is set to blank, and that's why you don't see it here.Removing the Tick marks would make the chart legend more readable in my opinion.

View 2 Replies View Related

SQL SERVER ACCESS DENIED!! BUT Everything Works On MSDE And Works SHOWING RECORDS ON SQL SERVER!! PLEASE HELP

Jul 26, 2004

I've got a popular problem so i get a message that server acces denied! ..

But that what is different in my error.... When i use same setting same database and connection string (on MSDE server) there is no problem...

On SQL server i have got windwos authentication but i added all accounts as ASPNET and SA.... and when i try to connect by

RETTO - name of my server

server=RETTO;uid=sa;pwd=password;database=db1;
or by
Integrated Security=SSPIserver=RETTO;uid=RETTOASPNET;database=db1;

I CAN BROWSE RECORDS THERE ARE NO PROBLEMS WITH CONNECTION!!! but when i try to update or iinsert or delete something in database there becomame this error that access denied or server does not exist!!!


PLEASE HELP I'm FIGHTING WITH THAT FOR OVER 5 DAYS!!!

I MADE FOR MY ACCOUNTS (SA, ASPNET) ALL THINGS ALLOWED AS EXECUTING stored procedures.. OR ACCESING datatables with insert delete and update query WHERE IS THE PROBLEM!!!??

View 3 Replies View Related

Telnet Connection Works, Sql Cmd Connection Works, SQL Server Managment Studio 2005 Does Not

Jun 20, 2007

I'm having a strange problem with this but I know (and admit) that the problem is on my PC and nowhere else. My firewall was causing a problem because I was unable to PING the database server, switching this off gets a successful PING immediately. The most useful utility to date is running netstat -an in the command window. This illustrates all the connections that are live and ports that are being listed to. I can establish a connection both by running



telnet sql5.hostinguk.net 1433 and

sqlcmd -S sql5.hostinguk.net -U username -P password



See below:



Active Connections

Proto Local Address Foreign Address State

TCP 0.0.0.0:25 0.0.0.0:0 LISTENING

TCP 0.0.0.0:80 0.0.0.0:0 LISTENING

TCP 0.0.0.0:135 0.0.0.0:0 LISTENING

TCP 0.0.0.0:443 0.0.0.0:0 LISTENING

TCP 0.0.0.0:445 0.0.0.0:0 LISTENING

TCP 0.0.0.0:1026 0.0.0.0:0 LISTENING

TCP 0.0.0.0:1433 0.0.0.0:0 LISTENING

TCP 81.105.102.47:1134 217.194.210.169:1433 ESTABLISHED

TCP 81.105.102.47:1135 217.194.210.169:1433 ESTABLISHED

TCP 127.0.0.1:1031 0.0.0.0:0 LISTENING

TCP 127.0.0.1:5354 0.0.0.0:0 LISTENING

TCP 127.0.0.1:51114 0.0.0.0:0 LISTENING

TCP 127.0.0.1:51201 0.0.0.0:0 LISTENING

TCP 127.0.0.1:51202 0.0.0.0:0 LISTENING

TCP 127.0.0.1:51203 0.0.0.0:0 LISTENING

TCP 127.0.0.1:51204 0.0.0.0:0 LISTENING

TCP 127.0.0.1:51206 0.0.0.0:0 LISTENING

UDP 0.0.0.0:445 *:*

UDP 0.0.0.0:500 *:*

UDP 0.0.0.0:1025 *:*

UDP 0.0.0.0:1030 *:*

UDP 0.0.0.0:3456 *:*

UDP 0.0.0.0:4500 *:*

UDP 81.105.102.47:123 *:*

UDP 81.105.102.47:1900 *:*

UDP 81.105.102.47:5353 *:*

UDP 127.0.0.1:123 *:*

UDP 127.0.0.1:1086 *:*

UDP 127.0.0.1:1900 *:*

Both these utilities show as establishing a connection in netstat so I am able to connect the database server every time, this worked throughout yesterday and has continued this morning.

The problem is when I attempt to use SQL Server Management Studio. When I attempt to connect to tcp:sql5.hostinguk.net, 1433 nothing shows in netstat at all. There is an option to encrypt the connection in the connection properties tab in management studio, when I enable this I do get an entry in netstat -an, see below:



TCP 81.105.102.47:1138 217.194.210.169:1433 TIME_WAIT

TCP 81.105.102.47:1139 217.194.210.169:1433 TIME_WAIT

TCP 81.105.102.47:1140 217.194.210.169:1433 TIME_WAIT



Amost as if it's trying the different ports but you get this time_wait thing. The error message is more meaningful and hopefull because I get:

A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: SSL Provider, error: 0 - The certificate chain was issued by an authority that is not trusted.) (.Net SqlClient Data Provider)

I would expect this as the DNS has not been advised to encrypt the conection.

This is much better than the : Login failed for user 'COX10289'. (.Net SqlClient Data Provider) that I get, irrespective of whether I enter a password or not.


This is on a XP machine trying to connect to the remote webhosting company via the internet.

I can ping the server

I have enabled shared memory and tcp/ip in protocols, named pipes and via are disabled

I do not have any aliases set up

No I do not force encryption

I wonder if you have any further suggestions to this problem?

View 7 Replies View Related

How Is The 'Score' Value Derived In The Lift Chart/Mining Legend For Data Mining Models?

Sep 26, 2006

Hi,
I have just run a simple data set through a model to predict a simple true or false value (i.e. binary output)
The Lift Chart/Mining Legend in Analysis Services shows three results €“ Score, Population Correct (%), and Predict Probability (%)

Population Correct I beleive is the percentage of predictions it got right out of the total number of predictions it tried to make. Is this correct?

However, I can€™t work out how the other two are derived in particular the 'SCORE'. To give a live example the scores were as follows:

Model Score Pop Correct Pred Probability
Decision Trees 0.83 76.59% 54.28%
Neural Network 0.75 67.63% 50.05%
Ideal Model 100.00%


Can anyone help with this and give a detailed explanation?

Many thanks,
S Rajput

View 4 Replies View Related

I Don't Understand How This Works, However It Works (sometimes)

Sep 26, 2006

I use the code below for updating data from a AS400 Liked server. I dont understend how the WHERE NOT EXISTS( sections work however usualy they do, in this case it does not andt I can't seem to find out why.

Does anyone see the error?

Thanks

--=========================================
--Create a local temporary table that hold
--all the data from the source table
--=========================================

SELECT * INTO #TEMP FROM dbo.LINK_LTTSTOC

--=========================================
--Remove table entries that are no longer
--needed or that have to be updated
--=========================================

DELETE FROM LTTSTOCK

WHERE NOT EXISTS( SELECT * FROM #TEMP

WHERE LTTSTOCK.WarehouseNo = LTWHLO

AND LTTSTOCK.Location = LTWHSL

AND LTTSTOCK.ItemNo = LTITNO

AND LTTSTOCK.NumberAvail = LTAVAL

)

--=========================================

--Insert data that is missing or that

--needed to be updated and was previously

--deleted

--=========================================

INSERT INTO dbo.LTTSTOCK(WarehouseNo,Location,ItemNo,NumberAvail,rowguid)

SELECT DISTINCT LTWHLO,LTWHSL,LTITNO,LTAVAL, NEWID()

FROM #TEMP

WHERE NOT EXISTS( SELECT * FROM LTTSTOCK

WHERE WarehouseNo = LTWHLO

AND Location = LTWHSL

AND ItemNo = LTITNO

AND NumberAvail = LTAVAL

)

--========================================

--Remove local temporary table.

--========================================

DROP TABLE #TEMP

View 2 Replies View Related

Permissions Via ASP.NET Web Site

Jan 31, 2007

I have a website with membership system.  I've been through a lot implementing the site and I think I'm on the verge of full implementation.  I can't get my registration page or my admin page to add, edit or delete users.  I'm assuming that asp does not have proper permissions on SQL to do such.
I'm running the site on a provider that has a SQL 2000 server.  I access the database through VS2005 and  SQL Server Management Studio Express.
Is there a tutorial out there that could help a newbie to SQL understand how to check and correct my permissions issue (or find out that I'm haveing a different issue entirely.
-Bill

View 3 Replies View Related

Using ASPNETDB For All Site!

May 26, 2008

Hi all,
I`m a .NET desktop-app developer and i`m new to ASP.NET and web development, i start developping a web application with SQL Server database and i want to know if i can put all my tables in ASPNETDB?
is any restriction with that?
Regards

View 3 Replies View Related

SQL 7 And Site Serer 3.0

Feb 3, 1999

Hello,

This may be the wrong place to add this but....

I am attempting to setup a membership instance for Site Server 3.0 using SQL 7 and try as I might, Site Server Membership will not see the server at all. I can do anything else I want to to that server and it works great (commerce, etc.). It all works OK under SQL 6.5 SP3 or later, just not SQL 7.

Does anyone have any thoughts or insights?

Thanks
John

View 1 Replies View Related

Get A File To A FTP Site T-sql

Oct 6, 2003

I have to download a file from a ftp site using either SQL/T-Sql or ActiveX script. I'm using SQL Server 2000. Please help

Thanks in advance

View 2 Replies View Related

SQL Serverback Up To FTP Site

Oct 13, 2004

Is there a good back up software that willl back up by SQL server to a FTP site. All of them I have seen either backs up to a disk or tape.

Thanks

Jay

View 2 Replies View Related

Does Anybody Look At The Jobs On This Site

Nov 17, 2004

Poeple are calling me for resume 5 years old. They need DBA's all over the country. Please pass it on to look at the job opportunities on this site.

View 2 Replies View Related

Deploying A Web Site

Jun 14, 2006

I am having problems deploying my web site from my machine to the hosting server.

Does any know of any special configurations that have to be perfomed before copying your web site to a server? All I have is a login in page that loads another page. The login page is launching okay but it does not load the second page.

View 2 Replies View Related

Should My Site And Sql Be On The Same Server

Apr 11, 2007

Hello,

I am upgrading my site from a VPS with a shared SQL server to a dedicated server and my own sql server 2003 standard. My site is an ecommerce site with about 10,000 users a month with between 10-20 people on the site at one time.

It is better to host both my site and the SQL server on the same system or is it better to have them on separate systems? if they are on the same system is 1 gig of ram enough? is will there really be much better performance with 2 gigs?

Any information on the best way to do this would be greatly appreciated!!!

Best regards,

~ Moe

View 2 Replies View Related

Phishing Web Site

Dec 17, 2007

How can a genuine Web Outlook url be classified by filtering software as a known phishing web site?

Thanks.

View 1 Replies View Related

Accessing FTP Site

May 15, 2008



Hi,

I am trying access a FTP site present from a different server (remote work station). I am getting "The page cannot be displayed" error. I am able to access from my local machine.

Please help me solving this.

Regards,
Sriram.

View 3 Replies View Related

Backup To FTP Site

Feb 7, 2006

I want to backup my database to an ftp site. How can I do that with SQL Server 2005? Thanks.

View 1 Replies View Related

Getting Files From An FTP Site

Apr 23, 2008

Hello:

I have setup a Flat File connection manager and set the location of the file as such:

ftp://10.1.1.1/FileName.txt

When I enter this URL into Start | Run on my machine it opens the txt file fine. Working in BIDS, when I create the flat file connection manager, it doesn't give me a message saying this file does not exist, indicating it is correct. When I create a flat file Source that uses the connection manager, the preview comes up blank. When I try to execute the step it gives an error saying it "cannot open datafile ftp://10.1.1.1/FileName.txt"

Any idea what could be going on?


Thanks,
Kayda

View 5 Replies View Related

Site Settings

Oct 16, 2006



I need to place some site settings in my Report Manger.But in my Report Manager there is no Site Settings Icon.Is this installation problem please help me.

View 3 Replies View Related

Using Encryption Via An Asp Site. How Is It Done

Feb 18, 2007

ive been playing around with encryption, just encrypting a column with a symmetric key, and having that symmetric key encrypted with a cert, and all that , and it works well through the SSMS, but i want to know how that will be used if im using sql server as a back end database for an asp web site, or an application. does the sql server have to be protected with an SSL cert, and once a user has logged in, what would the steps be to view encrypted data?

View 6 Replies View Related

Web Site Admin Tool

Aug 24, 2006

Hi!
My problem is...i gut this errormessage in Web Site Administration Tool:
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: The database filename can not contain the following 3 characters: [ (open square brace), ] (close square brace) and ' (single quote)
 
I recieved it after i try'ed to change the default Providers and use another DB then default. Now i want to go back to how it was from start, if i create a user and role - i want VS 2005 to create a SQL Express DB for me. Can anyone help me? I have even tryed to reinstalled VS 2005 but it didn't help.
/Bamsen

View 1 Replies View Related







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