Zath's Q&A profile
Smart Device Development updating web reference thru UI
how can i do this Yes, you can let user change the server name or IP on the client by adding some code to do it (get URL and set Url property as I’ve explained above). I do not understand what do you mean by "web service wont be able to update ". If your user would set up user’s own WS and set ULR to it in the client that would work just fine and application would talk to user’s server. It’s a very common task in fact. ...Show All
SQL Server restoring a db in SQL Server 2005
Hello, I received a backup Sql Server file and I am trying to restore it. When trying to restore the backup using SQL Server 2000, I get the following message: "the backed-up database has on-disk structure version 611. The server supports version 539 and cannot restore or upgrade this database. RESTORE DATABASE is terminating abnormally." After doing some research online, I figured out that the backup I received must be from SQL Server 2005. Therefore, I installed SQL SErver 2005 on my laptop (so now I have both 2000 and 2005 on my laptop).. I tried to use the restore database option in SQL Server 2005 ( SQL Server Management Studio) to restore my backup, and I get the same error message (written again below) as I did ...Show All
Visual Studio 2008 (Pre-release) Computed Default value for property
Hi, Is it possible to have a default on a column of Guid.NewId() As you can probably guess, I'm using Guids as my primary key, and would like them to be initialised as soon as the object is created. If this isn't possible in the model, is there any way of implementing such logic in a partial class I've had a look, but it doesn't look like there are any suitable methods that I can override to perform logic during construction. Cheers, Steve Hi! March Orcas CTP is not working with StoreGeneratedPattern="identity" i've seen. It throws SqlClient exception with integer to uniqueidentifier conversion problem message. Ok. It is not supported (yet) I think. But if you want to create sequential Gu ...Show All
SQL Server Invalid character in a report
Hi! Trying to generate a report (using WebForm ReportViewer, from dynamically created RDL report and SQL Server 2005 OLAP cube), if a database field contains control characters (code < 0x20), Reporting Services generate following message: ' ', hexadecimal value 0x02, is an invalid character. Line 1, position 2376. Is it possible to ignore that I don't care if browser shows an octopus, the report must work. Thanks, Andrei. Lev, I've just emailed RDL and other details to you. I could reproduce the problem using sample AdventureWorksDW and OLAP (standard edition). Create an OLAP table report, put e.g. Model Name in one of columns. The report works fine. Now change e.g. ModelName ...Show All
Visual Studio Team System Delete team project and remove from SCE?
I deleted two team projects one got removed from SCE and one didn't How do I get rid of the one that didn't and why did one get removed and not the other I understand there is some sort of bug related to this but why one and not the other and there must be a way to get rid of that one that is left right If not do we now know if this is fixed in SP1 I assume you've got "show deleted items" turned off Regardless, there's an SCE bug that shows deleted team projects. I don't remember the details of the repro but I know there was no easy way out once it happened. It's not something likely to be fixed before Orcas. ...Show All
SQL Server New accounts in SQL 2005 that were not there in SQL 2000
We are in the mist of a SQL project that also includes tighting the locking down of our SQL Servers. We generally remove certain accounts from security such as Built-in\Administrators. On SQL 2000, this is pretty straight forward. However SQL 2005 adds a few new accounts that we must take into account. Once we load SQL 2005, NT AUTHORITY\NETWORK SERVICE, NT AUTHORITY\SYSTEM, <servername>\SQLServer2005MSFTEUSER$<servername>$<instancename> now appears. Althought they are not in any obvious server roles or has access to any databases. I also noticed these accounts are denied permissions to connect to the database engine althought the login is enabled. In addition, there are a number of Local Windows groups that wer ...Show All
Visual Studio Express Editions how to make it user friendly?
Hello! I am quite new to VB and therefore my question might be a bit stupid but: I programmed a database (using sql server express) where I can perform sql queries using user given values. This works fine until the user inputs wrong values (wrong datatypes)- then the programm crashes. Using the online help and other tutorial I could not find out how to overcome this problem. Maybe you can help! Here is what I have programmed so far: Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim a, b, c, d As String a = column_cb.Text b = value_tb.Text c = operator_cb.Text d = ( "Select * FROM stand_info WHERE " & a & &q ...Show All
Visual C++ unable to access an assembly from an application located on a networked drive
Hey all, I have an application app.exe, that has the following manifest embedded in it: < xml version="1.0" encoding="UTF-8" standalone="yes" > <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> <dependency> <dependentAssembly> <assemblyIdentity type="win32" name="Microsoft.VC80.CRT" version="8.0.50608.0" processorArchitecture="x86" publicKeyToken="1fc8b3b9a1e18e3b"></assemblyIdentity> </dependentAssembly> </dependency> </assembly> When I run this application locally on the C drive, it runs fine but when I run it from a n ...Show All
Visual Studio Express Editions I can't register!?
Can somebody please help me... When I try to register my Visual C++ 2005 Express Edition it won't work. I goto the page where you enter your personal information and it says my e-mail address is invalid. I've tried three different e-mail addresses. What is going on This happen for others too. The solution seem to be to update the profile before registering. Use http://profile.microsoft.com to update it. Read more here. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=567005&SiteID=1 ...Show All
SQL Server Connections to SQL Server Files (*.mdf) require SQL Server Express 2005
When ever I click on an MDF file in VS2005 I get the following message. Required Components Missing. Connections to SQL Server Files (*.mdf) require SQL Server Express 2005 to function properly. Please verify the installation of the component or download from the URl: http:go.microsoft.com/fwlink/ linkID=49251. I think this may have been due to the install order and options I selected. 1. VS2005 Pro, without SQL Server Express 2005 as I was planning to install SQL2005 Developer. 2. SQL2005 Developer. I then noticed the above problem and installed SQL Server Express 2005 from the VS Pro DVD. I still have the problem. Any ideas how I can fix this Here I mean same problem. I installed ...Show All
Visual C++ char buffer to int buffer
Hi all, I am a newbie, so excuse me if I made a silly question. I have this char buffer (where I caught some data from an UDP port) and want to convert it to an int buffer in order to process data numerically. Is there any way of making this in a simple way Thanks in advance and best regards. Also, there's no need to typecast it. The conversion between char and int exists, and will be used. Another thing, the name bytecount is misleading. While it does count bytes for the char buffer, it doesn't for the int buffer. Each increment in the subscript for the int buffer will take you four bytes forward, in terms of memory reads. ...Show All
Windows Forms error provider control, it doesn't disappear
well this question might surprise some people but i don't know when i call the seterror method of the errorprovider [i m using vs2003 vb] it blinks for sometime, gives the message through the tooltip [if u hover mouse on it] & then the red icon remains there, till the life of the form, how to make it go away i got it, its like this to make errorprovide appear & tell the error message, errorprovider1.setError(control, "yourTextMessage as string") to end the blinking, guess what use the same method with an empty message string errorprovider1.setError(control, "") 'null string causes the errorprovider to disappear for the provided control ...Show All
Software Development for Windows Vista Help, Persistence not working!
I have an ASP.Net web service that uses workflow. I followed the examples to use SqlWorkflowPersistenceService so my workflow instances would be saved in a SQL database I created for this purpose (running the SQL scripts in C:\WINDOWS\Microsoft.NET\Framework\v3.0\Windows Workflow Foundation\SQL\EN). Here's my problem: my workflow instances are not being saved to the database! I can see my workflows going idle, but when I check the database I see no records in InstanceState. Am I missing something Could someone help me debug this, it's driving me nuts! Here's some of my configuration and relevant code: < add type = " System.Workflow.Runtime.Hosting.SqlWorkflowPersistenceService, System.Workflow.Runtime, Version=3.0.0.0, ...Show All
Visual Studio Express Editions Tell Us Your Express Story and Win $100!
Want a chance to show off a cool way you’re using Visual Studio Express or SQL Server Express We’re looking for your stories! Tell us about something that makes your life easier or is just plain fun and if we like it enough to include in a feature article, we’ll give you a $100 gift certificate to Amazon.com! This includes Visual C++ Express. http://msdn.microsoft.com/vstudio/express/support/hero_promotion/default.aspx I've used VC++ 6.0 in the past for my own little projects, but had gotten away from C++ programming for a while. Since all the development I do at work is in Visual Basic or VBA, I didn't have much excuse to pull out a C++ compiler -- and after 8 hours of coding at the office, I coul ...Show All
Visual Studio Express Editions invalid exception " "Invoke or BeginInvoke cannot be called on a control until the window handle has been created."
Hi all i have a project in vb.net some times at run time this message appear InvalidOperationException was unhandled {"Invoke or BeginInvoke cannot be called on a control until the window handle has been created."} i don't know why and i didn't find any logic when it's appear because when i run my project some time its appear and some time it doesn't appear. i read alot of articals all of them talk about thread and UI but i didn't use thread in my project , i used alot of select statments, insert and update to the data base , for loops , show forms and show dialogs . please how can i fix this problems and how can i know where is the problem. this is the details of the exception System.InvalidOperationE ...Show All
