Timothy Wilson's Q&A profile
Windows Forms Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information. I get this error now every time I try to view a designer for a form. I delete the Bin and Obj folders and recompile and then after trying again I get the message: The path is not of a legal form. What is causing this There is a hot-fix (kb912019) for this: http://support.microsoft.com/kb/912019/en-us Trausti ...Show All
Visual Studio Moving my project to another pc
Recently I copied my project folder over to a new PC. When I ran the new project I noticed that the ToolBox no longer had my tableadapters in it. Anyone know how to get them back Regards make sure you copied the entire project folder over. Make sure the xsd, xsc and xss files are copied along with it, as these appear to be the Internal dataset info, could be one reason for not displaying it in the toolbox - im unsure. does the project compile however ...Show All
SQL Server I can't seem to find exactly what my problem is in the following
I have trying to figure out where the error is exactly. The error message shows a '/' and there isn't one of these in my stored procedure at all The error is: Msg 102, Level 15, State 1, Line 5 Incorrect syntax near '/'. Here is the rather lengthy code. set ANSI_NULLS ON set QUOTED_IDENTIFIER ON go ALTER PROCEDURE [dbo] . [TEST] @StartDate DateTime , @EndDate DateTime AS BEGIN SET NOCOUNT ON ; DECLARE @sql varchar ( 8000 ), @select_clause varchar ( 8000 ), @from_clause varchar ( 8000 ), @gift_clause varchar ( 5000 ), @is_welcome bit , @pckg varchar ( 100 ) declare @bk_id int , @it_id int , @qty int , @desc varchar ( 100 ), ...Show All
SQL Server Using AMO to manipulate cube calculations
We have a cube with a bunch of calculated measures that were defined using BI Studio. I'm now looking at using AMO to manipulate the calculations (enumerate, modify, add, remove, etc). But what I see in the AMO object model is one MdxScript object with one Command object. That Command object has one very large Text property, with all of the calculated measure definitions munged together in one giant string. Not too easy to manipulate programmatically. Is there anything that I can do to make this easier to deal with Or is this just the nature of the beast with calculations, and I need to munge around in the giant script Is there some best practice (splitting things into multiple scripts, for example) that we missed I noticed that the AW dat ...Show All
SQL Server SSAS 2005. Error at dimensions ProcessUpdate.
Hi AS Gurus, I have an problem with processing SSAS database in production environment. During update dimensions processing I get the following. File system error: A FileStore error from WriteFile occurred. Physical file: \\ \D:\DB2005\Microsoft SQL Server\MSSQL.2\OLAP\Data\*********.0.db\AusgangLieferschein.0.dim\12.AusgangLieferschein.bsstore. Logical file: . . Errors in the OLAP storage engine: An error occurred while the 'AusgangLieferschein' attribute of the 'AusgangLieferschein' dimension from the '*********' database was being processed. real name of the database is masked The dimension AusgangLieferschein (error source) is quite large dimension and has about 10 Mio. elements in the key attribute hierarc ...Show All
Visual Studio 2008 (Pre-release) .Net AJAX and WPF
Does WPF support .Net AJAX implementation Please provide details. Did you check WPF/E initiative http://msdn2.microsoft.com/en-us/asp.net/bb187358.aspx "WPF/E” is the Microsoft solution for delivering rich, cross-platform, interactive experiences including animation, graphics, audio, and video for the Web and beyond. Utilizing a subset of XAML (eXtensible Application Markup Language)-based Windows Presentation Foundation technology, “WPF/E” will enable the creation of content and applications that run within multiple browsers and operating systems (Windows and Macintosh) using Web standards for programmability. Consistent with Web architecture, the XAML markup is programmable using JavaScript ...Show All
Software Development for Windows Vista persistence services Questions
Hello, I want to ask some questions about the persistence services : 1) the persistence process is fired when the WF instance is idle 2) Is there a possibility to manage "when the persitence process is fired" 3) When I am using the transcationscope activity, am I obliged to define a persistence services if is necessary,How Thanks A persistence event does occur when the WF runtime detects that an instance has no current work to do but has not finished (in other words it is idle, waiting for some external event). If this doesn't address your question could you elaborate on the question or the scenario your working with Thanks, Joel West MSFTE - SDE in WF runtime and hosting Thi ...Show All
Visual Basic HAving forms in bigger size than what it is usually
Can anybody help me out in this........ I want to put in a lot of data in the same form but the form is of same size only.... How can u extend the size of the form..... according to the data Please this is very urgent .... i was doing a project n i just had no options to make it bigger please help me out To that we should do Me.borderstyle = 0,1,3, or 4 then only it works otherwise in the border style sizeable and sizeable tool it doesn't works........ anyways thanks dude.......... ...Show All
SQL Server Analyzing a Query in SQL Server
I have to duplicate a bunch of reports that were produced by a VB6 app. Now I'm using C#, ASP.net and Crystal Reports via VS2003. Each executes a stored procedure in SQL Server (before and now). For each report I have a Stored Procedure and a View. The View's SQL code is identical to the Stored Procedure except that the two input parameters (startDate and endDate) are removed because Views don't allow parameters. Some of the reports work perfectly right off the bat. But others are timing out. My initial test of the timing out is to just display the View. If it fails then I know that the the report engine will fail too. So now I'm trying out the SQL Query Analyzer tool to execute the code in one of the Views. It's now at 29 minutes and stil ...Show All
.NET Development Parsing double value from a string
Hi all, I need to parse a string which is in the following format (example): -0.0004 USD/Tonnes Basically, it will be a double value, might be preceded by the negative (-) sign and followed by <Currency>/<Unit of Measure> . The result should be just the double value (with the sign if its there), as in the above example, it should translate to -0.0004 I wanted to know if there is an easy way of doing it in C#, like using the Double.Parse() or the string.Format() methods (I tried them both but couldn't get them to work) Or do I have to parse the string character-by-character to get the required result Thanks in advance, MadMonk P.S.: Apologies if its a silly question, I'm still a newbie in .NET ...Show All
Visual Studio Help collection integration
Hi All, This is for plugging in one help collection to another one, Let me explain the requirement: We have two VSIP packages, say Product-1 and Product-2, and both have their on help collections. Let the root node in TOC of the first collection be HelpProduct-1 and the second- HelpProduct--2. These packages will be installed in separately, and the requirement is to show in help contents, these two collections as children of a common rootnode, say, 'MyCompanyProducts'. So if I install product-1 first, the help contents should display- MyCompanyProducts HelpProduct-1 node-1 node-2 ...Show All
Visual Studio Hosted Engine and environment variables in MSBuild
I am hosting msbuild in my application. Typically the engine is started when the application starts. User sets necessary environment variables and fires the build. I expect build scripts to receive these environment variables as they reside in the same process. But engine always fires the scripts with set of environment when it (engine) was created. If I create a new engine, and then fire the script, then the engine does receive the current environment. Is this the expected behavior Yogesh, Please see this thread, especially my reply (about 4 down from the top). It gives a bit of background on why this is happening. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1030720&SiteID=1 - S ...Show All
Visual Studio Express Editions Is there a trick to avoid the installation of service pack 2?
Hello, I have a few questions. Question 1 I have just tried to install Visual C++ express edition. Why do I have to use service pack 2 I do not want to install it. It took me 30 minutes to install service pack 2 and I will never use it. Why is that Is there a trick to avoid the installation of service pack 2 Question 2 Someone is writing a software package for me and the compiler of Visual C++ express edition has to be built into the software. Only the compiler! I intend to use the package for my own use, but let's say I am going to sell the package later while the compiler is in it, is that ok But what if a customer of Microsoft like me isn't interested in the security upd ...Show All
Visual Studio Installation Question
I am a little unclear. I will be upgrading to XP Professional soon. Will Visual Studio 2005 professional install on the 32-bit version of XP Pro Thanks. yes of course, it can install on any platform (Windows) starting from Windows 98, excluding Windows ME. Windows 2000 SP4 and Windows 98 - some features will not be available in the .NET Framework for you to use but yes, if you upgrade to XP, it will be fine and will work ...Show All
Visual Studio 2008 (Pre-release) Weird image loading/saving dpi-related problem
Hello, I am trying to generate thumbnails from files located in certain folder and save those thumbnails into other folder as jpegs. Everything works nicely and rather fast, but I bumped into one strange issue. Most of my jpegs have internally set DpiX=DpiY=96 - and these behave nicely. Problem is that some images have DpiX=DpiY=144 (or some other values). PixelWidth and PixelHeight are correct in all these images, but Width and Height properties are not - they are taking into account dpi values. Getting thumbnails of these images is not an issue - I am using DecodePixelWidth or DecodePixesHeight on BitmapImage object to get them and it works very well. Unfortunately, when ...Show All
