473,386 Members | 1,828 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

T-Sql debugging and site compilation problems

I don't know if these two problems are related or if they're independent.

In moving my site to a production server I discovered that I had enabled T-SQL debugging and forgotten to turn it off (I'm deploying
the debug version on the production server to continue doing some "real world" testing). Because my hosting company doesn't grant
debugging permissions on their instance of SqlServer this prevented connections from being created. No problem, I just turned off
Sql debugging for my site, re-built, re-published and I'm okay.

Or thought I was okay. I later discovered that the same error was being thrown by a support library I'd written in .NET2 (the site
uses the support library). I checked the support library, confirmed that Sql debugging support was off (at least, I think I did),
and rebuilt the library.

I switched back to the site, recompiled it (which I had to do by manually editing a file to force VS2005 to agree that, yes, the
project needed to be rebuilt -- why did MS get rid of the Rebuild Solution menu option?)...and ran into the same problem.

So I figured maybe the reference to the support library didn't get updated. I know that's supposed to happen automatically, but I've
seen weirder things happen in VS2005.

So I deleted the reference to the support library and then added it back in.

Only now the site won't compile because it claims it can't find any of the classes defined in the support library!

I've confirmed that VS2005 can see the support library through Object Browser.

Why the heck can't the support library be linked in???

- Mark
Feb 8 '06 #1
1 1146
The solution has two parts:

1) The support library wouldn't link in -- but was visible in Object Browser -- because I accidentally referenced the debug version
of the support library when I had earlier referenced the release version. I think it's odd that this didn't get flagged, but it
clearly was my mistake.

2) Because I was debugging a MembershipProvider, I had attached to the local server instance that was hosting the ASPNET
Configuration tool. By default, attaching to processes automatically determines what debugging modes to use, so TSQL debugging got
"selected" even when I had configured the website to not use TSQL debugging. The solution is to manually select the debugging modes
when before you attach.

- Mark
Feb 9 '06 #2

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

Similar topics

0
by: Craig Reynolds | last post by:
Hi, I'm having problems compiling php 4.3.4 on HPUX 11.0 After configure completes successfully, I type make and the following happens: $ make gcc -Iext/ctype/...
2
by: Olaf Meyer | last post by:
I'm having some problems compiling Python 2.3.3 on HP-UX (B.11.00). I've tried sevral different options for the configure script (e.g. enabling/disabling gcc, aCC) but I always get the same problem...
1
by: wallygato11 | last post by:
Sigh, I'm stumped so if anyone could help me it would be much appreciated. Ok I'll describe the problem as best I can. I am trying to use an application called ACCPM to solve optimization...
3
by: Krivenok Dmitry | last post by:
I writing simple class CmdLine: ..... ..... class CmdLine { ..... ..... public: /// Constructor CmdLine(int argc, char** argv);
6
by: alban | last post by:
Hello I have got some problems of compilation on a AIX IBM, I use the XLC compilator (And I can't install another one). I try to compile code Pro*c ".pc" (oracle), I need do a pre-compilation...
1
by: vasant63 | last post by:
Hi, This is the compilation errors which I am getting when I compiling the code with VC++ 6.0. The same code is getting compiled in Linux OS. I would like to know how this compiler error can be...
4
by: Chuck Chopp | last post by:
I have an application that I originally built using Visual Studio .NET 2003 as native C++ . This application includes a template class that was derived from the string class that's part of the C++...
0
by: DR | last post by:
Unable to start TSQL Debugging. Could not attach to SQL Server Process on 'srvname'. The RPC server is unavailable. I get this error when I try to run a SQL Server Project with a CLR stored...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

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

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