.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

ResGen.exe: Problem when compiling solution appears out of nowhere

Posted By:      Posted Date: September 08, 2010    Points: 0   Category :.NET Framework
  Hi guys!   I have a weird problem with my solution (or perhaps my machine?). When I try to compile my solution with embedded resources (two .docx documents), I receive the following error german error message: Die angegebene ausführbare Datei der Aufgabe "ResGen.exe" konnte nicht ausgeführt werden. Zugriff verweigert    my english translation: The executable file for the task "ResGen.exe" cannot be executed. Access denied. I have no idea, how to resolve this error. Does anyone have a clue? Regards, Florian P.S.: @moderators: I hope, I've posted in the right forum; if not, feel free to move this thread in the proper place.

View Complete Post

More Related Resource Links

problem compiling web service


Using Visual Studio 2010.

I created a webservice GetDemographicData asmx, GetDemographicData asmx.cs and then used wsdl to create a proxy, then used csc.exe to create dll.

first time when I generate proxy, it looks and works fine, but when I make some changes to my webservice and regenerate proxy the following problems occur:

1.I lost the function: public DataSet Get_GetDemographicData(string CaseNum, int Version)
2. The namespace changed to my-labs

Why?? Please see my code below:

Any help is appreciated. Thanks.

<%@ WebService Language="C#" CodeBehind="~/App_Code/GetDemographicData.cs" Class="GetDemographicData" %>
GetDemographicData.cs was created under AppDataas follows:

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Services;
using System.Configuration;
using System.Data.SqlClient;
using System.Data;

/// <summary>
/// Summary description for GetCurrentReportVersion
/// </summary>
[WebService(Namespace = "http://localhost/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
// To allow this Web Service to be called from script, using ASP.NET AJAX, u

Extreme ASP.NET: A New Solution to an Old State Storage Problem


State management in Web applications is a contentious issue. Should you store user data per session or should you persist it across sessions? You can easily store information temporarily while someone navigates your site by using session state.

Fritz Onion

MSDN Magazine April 2006

SharePoint Calendar Error: The "ListViewWebPart" Web Part appears to be causing a problem. Index was

In one specific SharePoint calendar, on one specific week in that calendar when we select the "more items" link in the monthly view (or the expand all option) we get the following error:
The "ListViewWebPart" Web Part appears to be causing a problem. Index was outside the bounds of the array.

Web Parts Maintenance Page: If you have permission, you can use this page to temporarily close Web Parts or remove personal settings. For more information, contact your site administrator.
Troubleshoot issues with Windows SharePoint Services.

If we select a different week the expand and collapse works fine in that calendar.

Data Mining solution - SSRS Problem

I have created a Data Mining - Time Series solution and I am getting proper results from SSAS(Mining Model prediction tab) & SQL Management Studio query. However when I try to create an report using SSRS, In the field where I am expecting the predicted value, I am getting "#Error" Any suggestions as why this is happening.

Who can come up with a good SSIS solution to this problem?

Test your SSIS optimization skills on this problem: http://ask.sqlservercentral.com/questions/17499/phil-factor-speed-phreak-challenge-6-the-stock-exchange-order-book-state-problem Johan Åhlén http://blogical.se/blogs/jahlen  

is the overarchitecting of a solution a major problem in the development world today.

Hello all,I have been on this project for a while and wanted to get your thoughts.I have been working on a Sharepoint solution for a while to create a ASP .Net feature in Visual Studio. Now this is your standard CRUD application that queries data, displays data, updates data etc.As I am proceeding to code in this the original developer has used quite a few patterns MVP, observer, commands, repository and a couple of others. Being that this is Sharepoint developement and integration with Sharepoint is not good at all, I am finding that to much time is spent managing facets of the patterns rather than actually finishing the app. Another point is that debugging a Sharepont app with VS2008 is a pain because I have to redeploy the app everytime to make sure my changes worked.My chief concern is that its taking me going through about5 hours, 8 different objects having to redeploy the app to sharepoint over 10 times to test my code just to populate a couple of grids and comboboxes. It just seems more efficient use of my time program this app just seperating out my data access and business logic layers and calling the them from my code behind in my ASP .Net pages. It just seemed like he used the patterns just to use them without understanding why they are needed or a patterns proper place in an app..What do you guys think?

Solution Deployment Problem (Administrative Framework Object Dependencies)

I'm having a problem with the deployment of a SharePoint workflow solution - hopefully someone can help me out.Here is the sequence of STSADM commands and their output from the console:C:\Workflows>stsadm -o deactivatefeature -name IL.SharePoint.Workflows -url http://localhost/ -forceOperation completed successfully.C:\Workflows>stsadm -o uninstallfeature -name IL.SharePoint.Workflows -forceOperation completed successfully.C:\Workflows>stsadm -o retractsolution -name IL.SharePoint.Workflows.wsp -localDeploymentSucceeded : server : The solution was successfully deployed.il.sharepoint.workflows.wsp: Operation completed with errors.C:\Workflows>stsadm -o deletesolution -name IL.SharePoint.Workflows.wspOperation completed successfully.C:\Workflows>stsadm -o addsolution -filename IL.SharePoint.Workflows.wspAn object in the SharePoint administrative framework, "SPSolutionLanguagePack Name=0 Parent=SPSolution Name=il.sharepoint.workflows.wsp", depends on other objects which do not exist.  Ensure that all of the objects dependencies are created and retry this operation.IL.SharePoint.Workflows.wsp: The Solution installation failed.Here is the related log info from the SharePoint logs:error-redacted.txtAs far as I can see, SP is attempting to insert a "SPSolutionLanguagePack" object into the configuration database, with an invalid foreign key reference

TSPortalWebPart Web Part appears to be causing a problem


Using Sharepoint 2010 installed on w2k8 r2 std with remote desktop services and rd web access installed. Added rd web access to default site collection in Sharepoint per "Customizing rd web access by using sharepoint" and it works just fine. Added two more site collections and rd web access to both. Both seem to work fine until IIS Admin resets. Then all three sites fail with error "The "TSPortalWebPart" Web Part appears to be causing a problem. Could not find a part of the path 'C:\inetpub\wwwroot\wss\VirtualDirectories\80\sites\DEOWeb\_wpresources\TSPortalWebPart\\images\rapwait.gif'."

I have to delete the webpart in order to clear the error.

Any help appreciated.


A solution for the Sys.Webforms.PageRequestManagerServerErrorException problem


I was receiving the Sys.Webforms.PageRequestManagerServerErrorException error with an ASP.NET AJAX project I was working on.  I searched the Forums and other sources and found some common recommendations, but none worked.  Here's a summary of the cause and solution:

1) The web.config had the customErrors tag mode="RemoteOnly" and a custom Error page.  This caused the exception to happen with server deployments, but not show itself with local development environments.

2) The custom Error page causes the Response to AJAX Request to be altered and therefore causing the PageRequestManagerServerErrorException

3) Setting the AllowCustomErrorsRedirect="false" on the ScriptManager prevents the custom Error page from being used with AJAX Requests - http://msdn.microsoft.com/en-us/library/system.web.ui.scriptmanager.allowcustomerrorsredirect.aspx.

4) Define an OnAsyncPostBackError event handler on the ScriptManager to handle exceptions and set the OnAsyncPostBackErrorMessage to a user friendly error message the can be displayed to the user - http://msdn.microsoft.com/en-us/library/system.web.ui

WF solution to my problem


I'm new to Work Flow. I'm trying to find whether WF provides a solution to my problem.

I'm working on a solution for a refund process. The customer calls the call center. The agent looks at the customer's record and issue a refund - if the amount is less than $5. The customer can't give a refund over $5, so he can only make a request to the supervisor. The supervisor can approve or reject his request. The agent calls the supervisor to his cubicle. The supervisor enters his secret code and approves the request. Also the agent can't give more than he is allotted for a day like $25. In that case also, the supervisor has to approve the agent's request.

The agent uses a web based application. This front-end application calls a WCF service hosted in a different office. The service can respond to the front-end status like (1) timed out (2) rejected (3) approved (4) investigation. The service gives a status of 'investigation' because there are some steps that the customer has to follow has not completed - like the office has not received the mail-in rebate form.

Now to the solution. I have to bring some efficiency in the communication between the agent and the supervisor. The supervisor does not have to run to each agent to approve the request. Secondly the 'timed out' and 'investigated' requests need to be processed in 24 hours time again and n

.NET problem - no text appears when not running under hosting process


I have the most annoying problem with .NET Framework 4 (both full and Client Profile).

Basically, when I debug my application under the hosting process (vshost), the problem doesn't occur. I've found it only when I ran the .exe directly from it's location, and now I see that it happens when I debug it as well, but not under hosting process.

The problem is that I cannot see any text inside the labels, inside message-boxs (even the Yes-No text from the buttons has dissapered), from buttons or text-boxs, it simply dissapears.

I tried creating a new .NET Framework 4 project, and the problem didn't appear. So I decided to re-create my application from scratch (almost from scratch). I've created a new solution file, new project files and included the .cs and .resx files from my previous solution. The problem persisted.

Interesting thing is though, that on my first solution I've changed the configuration platform to 'Any CPU' from 'x86', and the problem then appeared in either cases (even while running under the hosting process).

I wrote the app in VS2010. I am running on Windows 7 Professional 64-bit, SP1.


Please help!

Complete SQL Solution

SQL Server Solutions: SQL Server 2000/2005 Related Free Snippets.

Problem to group radio button across gridview rows

In general no one can easily group or make a single selection from radio button list inside gridview rows. There are a lot of way to make a single or unique selection from list. Here i want to share how i can address this problem in the most easiest way. Googling the problem most of the cases i saw the grouping in horizontal way. Thats why i tried to group the radio buttons in vertical manner. Let i have a requirement like below:

Regrading Sharpoint 2010 problem and solutions

We can write your question and problem on this blogger.you get ans.use.

This sharpoint 2010 problem solving threads

Hi friend,

you can use this thread to solving problem and solutions.

Virtual Path Problem


 I get the following error on last line below (working on remote host): 'E:\web\sfcascom\ls_admin/uploads/images/001.JPG' is not a valid virtual path,

Note that the slashes go in different directions

I've tried a number of things but nothing seems to work. Thanks-


Imports System.Drawing
Imports System.Drawing.Drawing2D
Imports System.Drawing.Imaging
Imports System.Web.UI.WebControls

Imports System.Drawing.Imaging.ImageCodecInfo
Partial Class Protected_imageupload
    Inherits System.Web.UI.Page
    Private Sub btnUpload_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnUpload.Click
        ' Initialize variables
        Dim sSavePath As String
        Dim sThumbExtension As String
        Dim intThumbWidth As Integer
        Dim intThumbHeight As Integer
        Dim sFilename As String = ""
        ' Set constant values
        'sSavePath = "images/"
        sSavePath = Server.MapPath("~/") + "ls_admin/uploads/images/"

        sThumbExtension = "_thumb"
        intThumbWidth = 160
        intThumbHeight = 120

        ' If file field isn?t empty
        If FilUpload.PostedFile IsNot Nothing Then
            ' Check file size (mustn?t be 0)
            Dim myFile As Http

Strange Photo upload problem


I'm working project it's live on shared hosting

we'er uploading photos to a file on the server everything works fine the photo is resized renamed and sent to the folder

the upload page returns the thumbnail and the full size photo it's there all the photos have to be approved by an admin

twice now after they have been approved they disapear I checked the folder they are not there could there be anywhere

on the server they could get hung up before they go into the folder I have it setup so when you delete the data base entry it deletes the photo from the folder othe than that you need to open the folder and delete the photo this has hapened twice now I tried to recreate it with no luck

thaks for your help in advance

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend