mfdiqwer's Q&A profile
SQL Server SQL SERVER 6.5 restore
I'm not familiar with 6.5 and generally only work with 2000 and 2005. I have an old application that worked with a 6.5 version. Apparently the server crashed and they didn't notice for several months. We are now attempting to restore from an old backup. I have both a .DAT file and a data dump. I installed a version of 6.5 and created a database with the same name and attempted to restore. I get an error message saying the backup was taken with a sort order ID of 32 and will not restore to the 6.5 version I installed. It says the new version has a sort order ID of 52. Is it possible to change the sort order ID back to 32 Yes, and you have to reinstall the SQL Server again by selecting the sort order to 32 ( ...Show All
Visual Basic SQL Error Help
I was working on a login script for my VB.NET 2005 program and I came across this error. Can somone please help me. System.Data.SqlClient.SqlException was unhandled Class=11 ErrorCode=-2146232060 LineNumber=65536 Message="Cannot open database "C:\AITP NEW\AITP\AITP\Users.mdf" requested by the login. The login failed. Login failed for user 'DESKTOP\Matt'." Number=4060 Procedure="" Server=".\SQLExpress" Source=".Net SqlClient Data Provider" State=1 StackTrace: at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data. ...Show All
SQL Server Connect to Analysis Server - A connection cannot be made. Ensure that the server is running ...
In my SSAS SP1, I received an error msg in Aggregation design wizard "A connection cannot be made. Ensure that the server is running ..." while I was tryng to start "Performance gain reaches%" box. I verified that the local source SQL 2005 sample "AdventureWorksDW" is running without a problem. Open Service control manager and make sure you've started "SQL Server Analysis Services( MSSQLSERVER)" service. That is in case you installed default instance. If you installed named instance the service name will contain the instance name. For troubleshooting connectivity issues you can look at some tips on http://www.sqljunkies.com/WebLog/edwardm/archive/2006/05/26/21447.aspx Edward Melomed. -- ...Show All
Software Development for Windows Vista The sample sts example does not work.
Hi I ran the sample sts example. when browsing to: 'https://www.fabrikam.com:7001/sample/trust/selfissuedsaml/mex' I get the following error: " The remote server returned an error: (403) Forbidden." I know that the ssl is configured ok (the site sample site loads) What can I do manu Thanks I gave the directory in which I am running the code "Everyone - Full control" but still I get an 403 error. I do not run the sample with IIS. I run it using Visual Studio. Can VS run SSL correctly manu ...Show All
Visual Studio 2008 (Pre-release) OpenXML vs XPS
I just read an article which mentioned that the OpenXML standard was adopted by the standards committee ( http://www.infoworld.com/article/06/12/07/HNopenxmlastandard_1.html ) This is an XML standard for expressing documents. Does this have anything to do with the XPS standard used by documents in WPF If so, what's the relationship If not, why does WPF not support the standard which MS has pushed into being a new standard for expressing documents Thanks for any insights. AFAIK, OpenXML competes more with Office's XML formats. XPS is a print ready format that competes more with PDF than anything else. HTH, Drew ...Show All
SQL Server Autosize reportviewer control
I want the reportviewer to display the report exactly over the entire screen. If I try to use "width=100%", the report viewer control expands beyond the screen area making us to scroll to view the "View Report" button. However, in the report manager, the same report gets displayed exactly occupying the screen size no matter what resolution the screen size is. How is it done Thanks. Hi, I think by setting the width we can control the size of the reportviewer control not the report data itself. By setting the width to 100%, we can arrange the width of the area which includes the parameters, the view report button, paging control, export and the print controls. Not the report area. I mean we can not confi ...Show All
Visual Studio Express Editions 3 line text file to be put into 3 text boxes
Hi. Ive got a text file which has: Line 1 Line 2 Line 3 Line 4 Line 5 Line 6 and 6 text boxes. How can i get my vb app to read the file and put each line into each textbox Thanks!!!! I'd use this: It'll read the first line and makes a pops up, and it will get rid of the first line Dim line1, filecontent As String Using read As New IO.StreamReader( "c:\diff.txt" , System.Text.Encoding.ASCII) line1 = read.ReadLine() filecontent = read.ReadToEnd End Using Using write As New IO.StreamWriter( "c:\diff.txt" , False , System.Text.Encoding.ASCII) write.Write(filecontent) End Using MsgBox(line1) ...Show All
Microsoft ISV Community Center Forums Visual Studio Tools for Applications
Following are the question related VSTA that we have sent to Microsoft: When is VSTA getting Released Can we write the code/script in VSTA, store it in files/database; load the script and run it on the fly through a windows application Can I store the Code/Function in the database and load that function dynamically, debug it, make changes, compile and save it back to database and deploy the changes to all the client machines on fly Can we load the script (on-the-fly) in a VS.Net IDE and debug through it This should be done on a button click in a windows application. If the script has to be debuggable, what are specific settings Can we selectively run a script based on config settings that ...Show All
Visual Studio 2008 (Pre-release) App Positioning Per different types of Resolution
Ok right now in my application it starts where i have it set right along the Taskbar,But i run at a Resolution of 1280 x 1024 and not everyone runs the same Resolution..Some people run higher Resolutions or Lower..So my Question is where can i find some information on getting the Application to appear along the Task Bar No Matter the Resolution From 800 x 768 all the way up to 2048 x 1280... The System.Windows.SystemParameters class has a static WorkArea property of type "Rect" which should give you the informatio you need (and if not there are a number of other screen-size related static properties). I was initially puzzled by your question, since I usually have my task bar at the top, and ...Show All
.NET Development Refrerenced memory at 0x0000000c could not be "read"?
Hello all you nice people out there in 'Sanity' land, First - a message from my sponsor: 'For the record, I'm no computer wiz. And, I also do not know all-a-da proper terminologies either. This is stated before someone ups and decides to send any defamatory e-mail my way. Thank you.' You may now return to your regularly non-scheduled e-mails. Ah, hello again. Now, sledge-in-hand, let's have it. I had installed the VisualBasic Express, oh, about 2wks ago. A very short time thereafter I got an error message. It read, reads, as follows: aspnet_state.exe. Application Error. The instruction at 0x6a2a2fec referenced memory at 0x0000000c could not be "read". ...Show All
Visual Studio Saving and loading rendered report
Is it possible that a rendered report can be saved with rendered data in a file/stream/db etc I want to not only save the whole rendered report into a file but also have a possibility to load the report from that file from ReportViewer control. What is the best way to implement it Thanks Brian, I'm not quite sure whether I phrased my question correctly - what I would like to do is to run the report inside the firewall, then upload the results to a server outside the firewall where another copy of reporting services could render it - do you know if that's possible cheers, niall ...Show All
Visual FoxPro DLL Language in Portuguese
This is my first Post :) I work with VFP since '99 and has been always in english. Dealing with english is not a problem, but for my custumers yes, especially with error messages prompted from VFP (due to program code error ou just a crash). Is there a possibility to translate a Resource DLL to portuguese just like exists in Spanish, French, etc. This avoid me have an error routine to translate some messages (one of the common messages is "The visual foxpro support library is missing or invalid"). thx, DaCosta11. As far as I know all of the existing localizations have been undertaken by dedicated volunteers from that country - Spain, France, Germany and, I think, Russia. If you want a Portuguese DLL I am afraid that you wil ...Show All
Visual Studio Express Editions Display Web Content in Windows Form
How can I display web content in Windows form. I am using Visual Studio 2003. Iam working on a application that requires me to display web help in Window Form(as Words 2003 does when Opt for Help) Could you not create a compiled help file using HTML Help to create the file and then simply call this - this will bring up the help file using the windows help control. HTML Help is a free download from Microsoft's site if I'm correct. ...Show All
SQL Server localized messages for SQL SERVER 2000
I found a usefull link to my problem : http://support.microsoft.com/Default.aspx id=277535 But I am unable to find the s80xLang.exe file anywhere. I have looked through all my DVDs and nothing. Anyone know where to look or download it from The KB article mentions that you need to contact Customer Support to be able to download this. That wording implies the file is not available for public download. If you use email support to open a case with CSS, I'm pretty sure they will either send the file to you or provide you with the path to the download. ...Show All
Visual Basic What's the best way to wipe a document and then write an array to it?
I'm trying to read a document by reading each line into an array or arraylist. Depending on a predetermined variable that specifies the line to change, I want to change the specified line. I've tried a few different options, but nothing seems to work. Here's the code: Private Sub btnAddBook_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnAddBook.Click Dim line As Integer line = lstAuthors.SelectedIndex Dim sr As New StreamReader("authors.txt") Dim docline As String Dim coll As New Collection 'read in the contents of each line and manipulate that string - LOOP Do While sr.Peek <> -1 'If line = docline, then append the book to the line If sr.Peek = line Then docline = sr.ReadLine() ...Show All
