Mike Flasko's Q&A profile
SQL Server MDF cannot be opened,How can I do?
The default web diretory works on my locathost,but when I upload to the free website, http://dehim.aspx.sk/ I'm getting the following error. The database 'D:\LOCALUSER\DEHIM\APP_DATA\WAPDATABASE.MDF' cannot be opened because it is version 611. This server supports version 603 and earlier. A downgrade path is not supported. Could not open new database 'D:\LOCALUSER\DEHIM\APP_DATA\WAPDATABASE.MDF'. CREATE DATABASE is aborted. An attempt to attach an auto-named database for file D:\LocalUser\dehim\App_Data\WapDatabase.mdf failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share ...Show All
.NET Development common language run time error
i developed an application using vb .net with database connection and i tried to run it unde windows 98 with .net framework 1.1 but i get a common language run time de... error can any one help please We recently experienced the same problem and after following the lead of a corrupted installation of the framework we actually found the error was down to missing DLLs that had been added to the compiled executable at design stage. Once these DLLs were in place the compiled executable worked as planned. ...Show All
.NET Development run servers localy
how can i run 2 servers localy in .net remoting i tried register two different ports in the server side but i got an exception. do i need to create 2 different projects , each one for a server thanks in advanced im finding it a little bit difficult to put it in a config...maybe you can help me the problem is that i wrote- Type theType=new TasksManagement().GetType(); RemotingConfiguration.RegisterWellKnownServiceType(theType,"Server",WellKnownObjectMode.Singleton); how to put that in the config < wellknown mode ="Singleton" type ="ServerSide.TaskManagement,ServerSide" objectUri ="Server.rem ...Show All
Visual Studio How to to let 2 projects communicate to each other? (MVC)
I have an addIn project and a webform project. If something changes in the addIn project, the webproject should be notified (Model View Controller) and vice versa. One solution to this is using sockets, but I am no so sure if that is the best solution. If I make in my webform project a reference to the addin project, a copy of the addIn-dll will be made. So this won't work, because the addIn project should be able to notify the web project. Suggestions Regards You can find samples showing how to implement a VS service at <VS SDK Root>\VisualStudioIntegration\Samples\IDE\CPP\Reference.Services (C++) and ...Show All
SQL Server This SMO transfer script doesnt transfer ?
Hello, this takes a lot of time but when I got to sql server management studio there are no objects there!! What am I missing private void button1_Click( object sender, EventArgs e) { Server sv = new Server ( "ESTACION15" ); Database db = sv.Databases[ "GescomDllo" ] ; Database db2 = new Database (sv, "PRUEBA" ); // db2.Create(); Transfer xfr; xfr = new Transfer (db); xfr.CopyAllObjects= true ; xfr.CopyAllTables = true ; xfr.Options.WithDependencies = true ; xfr.Options.ContinueScriptingOnError = true ; xfr.DestinationDatabase = "PRUEBA" ; xfr.DestinationServer = sv.Name; xfr.Destination ...Show All
Windows Forms Getting ClickOnce to create a desktop shortcut
msdn states that ClickOnce supports the creation of shortcuts . I am using VS2005 Beta2. But I have not found a way to tap this feature. How do I set ClickOnce to create a shortcut on a user's desktop during installation Does anyone know I put the following in a class and have it run when the app. first starts. So far, it's been working well. The only minor issues I can see are: 1)If the user renames the desktop shortcut, a new will be created the next time the program starts, and 2)If the program is uninstalled, the desktop shortcut would have to be removed manually. Dim strShortcutName As String = Application.ProductN ...Show All
SQL Server RSClientPrint - Error on some clients
I have several new PCs that I am setting up to run an RS ASP.net application. The Dells work fine. The Gateway gives a print error message 'An error occurred during printing (0x80070006)' and then a script error 'the handle is invalid'. I have tried various things, such as, disabling popup blockers, tool bars and changing IE settings. Nothing makes it work. The only difference between the machines is that the Gateway has Norton Anti-Virus loaded. Tried disabling it but still got the error. I have searched the internet and cannot find a similar error. Need help fast, deploying in 2 weeks. Hi mark, I've had ...Show All
Windows Forms Post again, change the password of an MS Access db
Hi All, I see this link <a href="http://windowsforms.net/Forums/ShowPost.aspx tabIndex=1&tabId=41&PostID=12329">http://windowsforms.net/Forums/ShowPost.aspx tabIndex=1&tabId=41&PostID=12329</a> but no answer. The reply has a MS link, which is not available now. I need the same help. Is there any way I can programmatically change the password of an MS Access db in DotNet Thanks ...Show All
Windows Forms Reintroducing updated organism
Hi Anybody know how I can reintroduce my updated organism Currently the one available is older, and I want to update it... but don't really know how. Thanks! Drat. I was afraid of that. I had a good name! heheh. Thanks! ...Show All
SQL Server Problem with Custom Security Extensions
I have tried and tried to get the "Security Extension Sample" to work. I can browse to http://myserver/Reports and http://myserver/ReportServer and get the custom logon form. But, when I try to register or login I get System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Exception: An error occurred while attempting to verify the user. An error has occurred while establishing a connection to the server . When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, e ...Show All
Windows Forms ComboBox Data Binding Question
I am creating a "learning" app. I have successfully connected to Sql Server 2000, created a dataset containing a single table, "mytable" with several columns. I am trying to bind this data collection to a combo box cboPlantId on my form. I have tried a number of approaches but only one has worked. I am hoping someone&nb ...Show All
Visual Studio Print Preview Problems and Two Questions
I'm having problems with Print Preview on a LocalReport. The "Generating Report" message stays on screen even after the toolbar becomes re-enabled. I can print, via the print button, refresh, and go back to the normal view. However, the problem does not occur with the sample Web Log Analyzer project. I have deleted the report and recreated it (several times). The only thing I haven't done is to compare the XML of my report and the Web Log report to see if there is anything radically different. The report is a LocalReport (embedded resource), using A4 page size and 1cm margins. The data supplied is via 4 business object types. 3 are supplied ...Show All
Visual Studio Tools for Office Error occurred when undo (Ctrl+Z) operation done
Hi, We are working on Word Customization using VSTO, in the some of the XML tags we are inserting label control inorder to show some read only content for understanding pupose. If user deletes the XML Tag and does undo operation (Ctrl+z) the following errors come one after the another, 1. System.ArgumentException crossed a native/managed boundary Message="cookie" Source="Microsoft.VisualStudio.OfficeTools.Controls.ContainerControl" StackTrace: at Microsoft.VisualStudio.OfficeTools.Controls.InstanceMgr.GetConnectedControl(String cookie) 2. System.ObjectDisposedException crossed a native/managed boundar ...Show All
Windows Forms Dataview Value
Hi, I have a form that use a dataview derived from a dataset. The dataview populates a combobox to allow for row selection and is databound to a textbox called cost which displys the cost of the selected item. Is there a way that I can assign the value of the cost item from the selected row in the dataview to a variable such as decCost&n ...Show All
Visual Studio I want to add additional documentation to VS help system.
I have VS 2005 installed and it comes with a set of documentation which you can filter via drop down box, which is great. But I am doing some sharepoint development and I really don’t want to switch between the two systems or more if I have other SDK docs I need to look at, can I add the sharepoint SDK or any .chm file to the VS help system which should be automaticly searched via dynamic help also. I think I am asking for the impossible. Cheers, David Olaf Neuendorf wrote: Hello Michael & Paul, please can you tell us when a fix will become available We are waiting for quite ...Show All
