Immediate window question ?1

  • Thread starter Thread starter Patrick Hill
  • Start date Start date
P

Patrick Hill

Hi, We have a SQL Server Intergration services project but this also has
happened with a reporting services project.
When you are in the immediate window and type ? [number 0-9] it will run the
project and in the case of the reporting server project it started to deploy
all the reports to the server. Why does it do that if you type a number
after the question mark like ? 0, ? 1
 
The immediate window runs things inside the debugger. Problem is, when the
app isnt running there is no debugger so VS has to start a new app domain and
load your application into it. You could type anything in the window to start
this process.
It doesnt normally start your application but maybe the sqlserver projects
take action when loaded to an app domain or have to be deployed before
loading.
Best way to avoid this is not to use the Immediate window when not running
or not got a normal app as startup project

Ciaran O'Donnell
 
Back
Top