Mark John's Q&A profile
SQL Server Snapshot Agent - Error: Query for data failed
We've got a problem with our replication. If I try to run the snapshot agent I get the message "Query for data failed". The detail view of this message shows the following: Message: Query for data failed Stack: at Microsoft.SqlServer.Replication.Snapshot.SqlServer.NativeBcpOutProvider.ThrowNativeBcpOutException() at Microsoft.SqlServer.Replication.Snapshot.SqlServer.NativeBcpOutProvider.BcpOut(String strBcpObjectN ...Show All
Visual Studio Team System Customizing build steps in Team Build
Is it possible to add statements to the "Build Steps" For instance, I have a task that runs after the build process that performs obfuscation, but the build steps still indicates that it is compiling the final project. It would be nice if I could insert a statement into the build steps noting that my task is being performed to see what stage the build process is actually at. Thanks in advance MikeH ...Show All
Visual Studio Uninstalling VS 2005 RC
I am trying to uninstall VS 2005 RC so I can install the released version of VS 2005. I have tried to do it via Add remove programs and I have tried the vs_uninst.exe tool. I have tried to repair my current version but no matter what I do I get this message and the ununstall failes. Error 1322. A portion of the folder path '' is invalid. It is either empty or exceeds the length allowed by the system. help! Do you get the error when y ...Show All
Smart Device Development Undefined Externals, TrackPopupMenu and VarBstrCmp
I have a large CE workspace that I migrated from CE 4.0 to CE 5.0 using the built in conversion tool in VS 2005. When I try to compile any of the COM dll's I get the following series of linking messages: 1>UniversalDataForms.obj : error LNK2019: unresolved external symbol VarBstrCmp referenced in function "public: bool __cdecl ATL::CComBSTR::operator==(class ATL::CComBSTR const &)const " ( 8CComBSTR@ATL@@QBA_NABV01@@Z) 1>Univer ...Show All
SQL Server datepart
I'm pretty new to this VB Scripting, I'm building a webpage where I'd like to be able to pick out month, day or year from a date variable, I understand this can be done by the datepart function, but it seems like I need to include a certain file or something to make it work It generates error '800a0005' when I try to run the code as below d=datepart(mm,date) ...Show All
SQL Server Event ID: 107 MSSQLSERVER cannot connect to the report server database
I only receive this error message when I reboot my server. I was wandering if there was a time limit I could set for SQL before it connects to the report server database. Event Viewer Log Report Server Windows Service (MSSQLSERVER) cannot connect to the report server database. For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp . Windows Help and Support provided no further information o ...Show All
Visual Studio Team System SQL Express only?
Not a big deal, but I currently have my test machine without Express installed and it will not allow me to work a database project. Is Express the only version that works for these types of projects at this time TIA, Greg Hi Greg, it works also with other editions, eg. developer, but afaik it must be running since it's used as a local repository. If you have another instance of SQL around, not the default MSSQL$SQLEXPRESS one, yo ...Show All
Smart Device Development Calling DllImport("rtcdll"), to call IRTCClient::put_Volume to set the volume.
Hi all, it seems that I need to do a DllImport to set the volume on the device programatically, but am having problems calling the method, as I don't know what types are used in the method call. I have the following link that defines the required method, but am bit lost from here. http://msdn.microsoft.com/library/default.asp url=/library/en-us/rtcclnt/rtc/irtcclient_put_volume.asp Hope you can help. Thanks Tryst Thanks for the reply, Ily ...Show All
Windows Forms PROBLEM: Microsoft.ApplicationBlocks.Data
I'm having a big problem with the DAL that comes with TaskVision and I'm hoping I'm just doing something silly and someone can tell me what I'm doing wrong. I changed TaskVision so I could use SQL Authentication (just changed the dbConn.ConnectionString& ...Show All
Visual Basic Web Hosting problem
Hello ; I have completed a small asp.net application and wnat to test it remotely on a server, but when i click on web hosting link on the startup page, the following message appear: " This feature requires that you have connected to the internet previously or are currently online." although my connection to the internet is working fine. Any help to this problem Thanks Hasan ...Show All
Visual C++ Bufferoverflowu.lib for amd64 is missing in whidbey beta 2
Lets say you compile some code with the latest PSDK for AMD64 cpu. Then you compile your files into a library and expect users to use that library. However because of the security code there is a dependency for using bufferoverflowu.lib on the PSDK since it uses old CRT code. If you use #pragma comment(lib, "bufferoverflowu.lib") then the file must exist to be able to succesfully link. This is a problem if you compile your code with the PSDK an ...Show All
Software Development for Windows Vista Activity Property values not available at runtime
I am currently experimenting with a custom activity. We have a number of business rule objects which implement various, relatively complex data validation rules. The custom activity allows these business rule objects to be assigned to the activity and for parameters to be assigned as part of a workflow that links together a number of these business rule classes into a sequential [potentially brancing] workflow. So I basically have: BRActivity ...Show All
Software Development for Windows Vista Asynchronous Activity sample
Is there any sample to run an Activity Aynchronously in beta2 Hi Ravi, By asynchronously do you mean in another thread If so, then this is not supported - the model is one thread per workflow instance. If you mean something else, please give me some more detail. Thanks, Angel ...Show All
Windows Forms Drag n' drop
is there any way to change the drag/drop rectangle of a control when dragging it i have a custom designer of my control , but i would like it to display something else or atleast position the drag drop rectangle while moving the control. any&n ...Show All
Windows Forms DataGridViewImageCell, host custom control
Hi all, Again i lack the knowledge and documentation to achieve what i want. The new DataGridView allow us to add custom controls in each cell. I already found the DateTimePicker Example on thos forum, great example and it works smoothly, however i wanted to create a Image Edit control which could be used in the DataGridView. The problem is that the DataGridViewImageCell is readonly by default and has no EditableControl. So following the DateTim ...Show All
