ITAQ's Q&A profile
SQL Server FileIOPermission failed for custom assembly
I'm having trouble deploying a Custom Data processing extension to my W2K3 server. I've followed the articles on deployment and everything seems to go smooth in the developing of the reports but I can't seem to get my assembly to have the proper permission set. I was hoping if I posted my rssvrpolicy.config file, somebody could shed some light on my problem. Config file: <configuration> <mscorlib> <security> <policy> <PolicyLevel version="1"> <SecurityClasses> <SecurityClass Name="AllMembershipCondition" Description="System.Security.Policy.AllMembershipCondition, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5 ...Show All
Visual Basic JIT Debugger Error message caused by filelistbox
I have been working on a program and testing it on another computer that has the .Net framework installed. My program works fine on my computer with .Net installed. However, when I run it on the other computer (with only the framework installed) I get a random error: MyApp.exe - Common Language Runtime Debugging Services Application has generated an exception that could not be handled. Process id=0xf3c (3900), Thread id=0xf64 (3940). [The numbers in this error line are different everytime] When I hit cancel to debug it displays MyApp.exe - No debugger found. Registered HIT debugger is not available. An attempt to launch a JIT debugger with the following command resuled in an error code of 0x2 (2). Please check co ...Show All
Game Technologies: DirectX, XNA, XACT, etc. FizzVaders - 360/PC Demo With Full Source
Hello Not sure of the best place to post this but I thought best to share some code with you all. It's a simple space invaders game that will run on the PC as well as the 360 - it uses the two projects in one method. You'll have to excuse the coding, it's the first thing I've written in C#, previously I used C so it's a bit of a jump. I always go for something simple to begin with. It runs in 1280x720 and you can switch between windows and fullscreen using alt-enter. PC will work with a 360 pad (not sure about others as that's the one I tried). There's a co-op mode as well, just hit Start when in game to join in. PC keys are... & ...Show All
Visual Studio 2008 (Pre-release) MSMQ TimeToLive
I know i can set the TimeToLive property for a netMsmqBinding. (How) can I set per message TimeToLive values Hello Simon, You cannot set this value on a per-message basis, it is a per-ChannelFactory property. If you want different TTL values, you would have to create a new ChannelFactory and client proxy every time you wanted a different value. Here is an example: namespace Test { using System; using System.ServiceModel; using System.ServiceModel.Channels; [ ServiceContract ] interface IQueuedContract { [ OperationContract (IsOneWay = true )] void SendMessage( string message); } class TimeToLiveClient : IDisposab ...Show All
SQL Server Dimension Design Help: Mix of Parent-Child and List
Hello Analysis Server Users! I wonder if someone can help me with the setup a dimension that is a parent-child hierarchy first, but the leaves are not joined to the fact table, but instead to another table containing a list of elements for this leaf, and from there fianlly to the facts. Hmm... bad wording and description, sorry. Maybe an example helps: say I got a list of 5 elements a-e that are in a simple list dimension and act as hosts for fact data. Just simple straight list a, b, c, d and e. This list is often used and must be kept, it is stored in a simple straight table in the database. I would now like a group in addition to that, as an alternative, say I want to see grouped together b, c and e. I could do that by a ...Show All
SQL Server Getting "Permission denied" error in ExecuteSQL task
The purpose of the Package is to load an SQL table with data from text files in a subdirectory. The parameter is parsed from the text filenames. It is a zipcode. I have an ExecuteSQL task inside a ForEach container. The SQL in the task is: IF EXISTS (SELECT * FROM dbo.ZipCodeRadius WHERE CenterPostalCode = 1) BEGIN DELETE FROM dbo.ZipCodeRadius WHERE CenterPostalCode = 1 END I also have a Data Flow task in this container which populates the ZipCodeRadius table. The same parameter is also passed to the Data Flow task which specifies a zipcode to delete and afterward load. I am using Windows authetication for the package. What am I doing wrong Fred FSchimd, To be honest, this is the first ...Show All
Smart Device Development Radio Interface Library Privileged APIs
Which RIL functions are priviliged It is not clear from the MSDN page whether these APIs are privileged or not (http://msdn2.microsoft.com/en-us/library/ms924486.aspx). Many of the SMS functions appear to be, but RIL Proxy specific functions are not well documented. Thanks, in advance. Chris You might have a look a http://www.alexfeinman.com/download.asp doc=tapi1.6.zip which works fine for me! I’m using a code like this: Tapi tapi = new Tapi(); Line line = null; int ret = tapi.Initialize(); LINEDEVCAPS dc; if (tapi.GetDevCaps(ret, out dc) == 0) { if (dc.ProviderName == CellTSP.CELLTSP_PROVIDERINFO_STRING) { line = tapi.CreateLine(ret, OpenNETCF.Tapi.LINEMEDIAMODE.INTERACTIVEVOICE, OpenNETCF.Tapi.LINECALLPRIV ...Show All
Visual Studio The best way to debug on a server
Hi I have an application in .net2 and I want to debug it on the server. The server is win2003 and it is not in the same domain as my pc(has vs2005). What is the best way to debug on the server install vs2005 on it dbgclr Is there a way to remote debug Thanks Avi You should be able to use the remote debugger to debug on the Win2003 machine. This article describes how to set it up: http://msdn2.microsoft.com/en-us/library/bt727f1t.aspx ...Show All
Visual C# displaying form as image
Hello everybody i want to display a form as thumbnail in the listview for that i am using DrawToBitmap() but it is not working for richtextbox and any com components if i use CopyFromScreen() it is also capturing any contextmenus and filedialogs please help me regards Ramana kumar To be complete, here's the c# code (tested): // One of the many constants that modify // the behavior of the BitBlt API: private int SRCCOPY = 13369376; // (DWORD) dest = source [System.Runtime.InteropServices. DllImport ( "gdi32.dll" , EntryPoint = "BitBlt" )] private static extern int BitBlt( IntPtr hDestDC, in ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XNA has it's own GamePad DeadZone?
I've been looking at the output of the thumbsticks, and it appears a value less than 24% (0.24) is ever returned. I know it's very important to implement deadzone in your programs, but why has it been done for us Someone may want to write a game that needs a smaller deadzone, but as far as I can tell it would be impossible given we don't have full access to the output right the way from 0 to 1. Is this behaviour intentional Many thanks, Adam Miles There is a bug that we should be returning values 0.0...1.0 rather than 0.24...1.0 after we calculate the deadzone. I'm wondering why you think you need to calculate the deadzone yourself Inside the deadzone, the values you get back from the controller are not ...Show All
Windows Forms ORDER BY Clause in DataAdapter QueryString Fails
In the following code, I establish a QueryString with an ORDER BY clause. When I call the fill method of the DataAdapter, I get an error. If I remove the ORDER BY clause, the error doesn't occur. Can anyone tell me why Thanks, Mike Dim personnelQueryString As String = "SELECT * FROM Personnel ORDER BY Position, LastName" Dim personnelAdapter As OleDb.OleDbDataAdapter = New OleDb.OleDbDataAdapter(personnelQueryString, conn) Dim dsPersonnel As DataSet = New DataSet() personnelAdapter.Fill(dsPersonnel, "Personnel" ) I discovered this solution on another forum, but I'm not sure I understand all I know about this. I've been working with SQL for years. I have never had to en ...Show All
SQL Server Forum Moderator
i noticed that there are 2 posts with the same title, " Performing Date Range Queries Based on a Non-Calendar Fiscal Year ". will you delete the redundant post that does not have replies. thanks, ken ...Show All
Windows Forms Bindingsource.Find problem
Hi all, I have a problem with the bindingsource.find methode. When i do this Me.GemeenteBindingSource.Find("Gemeente", txtGemeente.text) It wil return the index of the value of the txtgemeente.text box, but what must i do when i want to find a partcial nam An example : If txtGemeente = "Veurne" , i found the record and everything is fine, but when i search after txtGemeente = "Veur" then he doesn't find anything. How can i resolve this problem Thanx in advanced So i bind a combo box to my DB, and if they type a part of the text , it will auto go to such records. oke i get it, but in VB6 was it possible, with some code. I should found it weird, if they doesn't put s ...Show All
Visual Studio A4 paper size with winforms reportviewer
Hi, Ive searced the web and found only a few dead ends, so i thought i'd ask in here, hope its the correct place! i have created a report that will use a localreport on a winforms app, the report works fine, however when i try to print it, it is always set to letter size paper, how do i change the print preview to be A4, and set the margins i have set the report size in the report, but it seems to make no difference. Regards, Russ You don't. You use it instead of putting ReportViewer on a form. You can either print directly or have it show a preview depending on which method you invoke. Create an instance of EmbeddedReport. Create report data sources as you would ...Show All
Visual Studio Team System Backup for a single team project
Hi we are using a single server for multiple team projects (each is a different group). we currently have a full & continues backup for the whole DB. The problem is that if we need to resotre only one TP it will have to include all the others as well. Is there a way to set a backup for only a single TP and if not what's the best practice for handling this situation thanks, Guy agreed - it's definitely something we're hoping to get in. As a FYI, it's not a _great_ answer, but a worst-case scenario in V1 is to "clone" your server and then use TfsDeleteProject to delete the N-1 projects from the new server (and the one project from the old server). Usually this isn't a via ...Show All
