Brent, I drag the setup.exe to the desktop along with the other files that it needs double click on the target computer and the same exact error happens.
kourvoisier
Posts
-
Deploying Visual C# express application Fails on target cpu -
Deploying Visual C# express application Fails on target cpuI have actually published the files directly to the target machine by passing the file server and received the same error. I have published other .net applications to this server and installed on multiple target cpu's without any issue. I do have a app.config file with a hardcoded file path. Do you think this could be the issue? although i dont think may be the issue either. below is my app.config
-
Deploying Visual C# express application Fails on target cpuI do not drag the setup.exe to the target machine. I simply click it str8 from the file server. The .net framework is not installed on the file server. Do you think this may be the problem? I have published other .net applications to this server and installed on multiple target cpu's without any issue. I do have a app.config file with a hardcoded file path. Do you think this could be the issue? although i dont think may be the issue either. below is my app.config
-
Deploying Visual C# express application Fails on target cpuThis cant be the problem. I have tryed to deploy on multiple cpu's with .net framework installed still run into same problem.
-
Deploying Visual C# express application Fails on target cpuanyone have any ideas of what to do next. I am pretty much at a stand still at this point!!!
-
Deploying Visual C# express application Fails on target cpuApplication has encountered a problem and needs to close. 1. My code debugs and runs perfectly fine. 2. I publish my application to a shared file server. 3. I log on to the target machine and browse to the folder I published my application files. 4. I click the setup.exe 5. It begins verifying application requirements. 6. Are you sure u want to install this application dialog pops up - Install or Don't Install button 7. I click the install button. 8 Acts as if it begins to install then Error - {APPLICATION NAME} has encountered a problem and needs to close. We are sorry for the inconvience.. 9. Button that says Send Error Report and button that says Dont Send 10. Also hyperlink on form that says "What data does this error report contain" 11. If i click the link gives me some wierd information - keywords in the info below Event Type: clr20r3 Mscorlib system.io.directorynotfound It does not tell me what the problem is. I am clueless. can somebody help me please. 1.0 and 2.0 .net framework installed on target machine. Thanks in advance Kourvoisier
-
Deploying Visual C# express application Fails on target cpuApplication has encountered a problem and needs to close. 1. My code debugs and runs perfectly fine. 2. I publish my application to a shared file server. 3. I log on to the target machine and browse to the folder I published my application files. 4. I click the setup.exe 5. It begins verifying application requirements. 6. Are you sure u want to install this application dialog pops up - Install or Don't Install button 7. I click the install button. 8 Acts as if it begins to install then Error - {APPLICATION NAME} has encountered a problem and needs to close. We are sorry for the inconvience.. 9. Button that says Send Error Report and button that says Dont Send 10. Also hyperlink on form that says "What data does this error report contain" 11. If i click the link gives me some wierd information - keywords in the info below Event Type: clr20r3 Mscorlib system.io.directorynotfound It does not tell me what the problem is. I am clueless. can somebody help me please. Thanks in advance Kourvoisier
-
code to make enable button in c#.netyou must think about how this will logically work then...... Toggle between the button.enabled property. if you want the button disabled you say button1.enabled = false; if you want the button enabled you say button1.enabled = true; That should u going dude.
-
Changing the datatype of stringsminnie mouse, To convert every string in your database to an int you must iterate thru every row and change the value in each column to a int. For example if you have grabbed all data from your database and have filled your dataset with this data. Use the code below check for syntax errors. But this should get you going. DataTable table = MyDataSet.Tables[0]; foreach(DataRow row in table.Rows) { foreach(DataColumn column in table.Columns) { int newIntValue = int.Parse(row[column].toString()); row[column] = newIntValue; } } In your database you must be sure to change the dataType of the column so that when you update your database with the dataset via dataAdapter you get no dataType errors.
-
Could not load typeI am simply trying to use the uploadfile control with no success. Also the remote server uses .net 1.0 If you cant help me with this error please tell me a different way of uploading files to a server using .net 1.0 The following is the error i keep getting: ------------------------------------------------------- Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. Parser Error Message: Could not load type 'upload'. Source Error: Line 1: <%@ Page Language="C#" AutoEventWireup="true" CodeFile="upload.aspx.cs" Inherits="upload" %> Line 2: Line 3: Source File: d:\webs\omixad\upload.aspx Line: 1 --------------------------------------------------------- I have a simple upload.aspx file that has a fileupload object on it and actually uploads files to the server. ---------------------------------------------------------------------------------------------- <%@ Page Language="C#" AutoEventWireup="true" CodeFile="upload.aspx.cs" Inherits="upload" %> <script>
------------------------------------------------------------------------------------------- The code behind file is upload.aspx.cs ----------------------------------------------------------------------- using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; public partial class upload : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } protected void UploadBtn_Click(object sender, EventArgs e) { if (FileUpload1.HasFile) { //FileUpload1.SaveAs(@"C:\temp\" + FileUpload1.FileName); FileUpload1.SaveAs(Server.MapPath(@"temp") + FileUpload1.FileName); Label1.Text = "File Uploaded: " + Server.MapPath(@"temp\") + FileUpload1.FileName; } else { Label1.Text = "No File Uploaded."; } } } --------------------------------------------------------------------- I have IIS running o
-
Parse Error Could not Load Typehttp://www.codeproject.com/script/comments/forums.asp?forumid=12076&select=1460496&df=100&mpp=50&fr=399&msg=1460496#xx1454021xx[^] The above link no one was able to help, just wanted to refresh to get some new eyes on it THanks!
-
Parser Error Could Not load Type (HELP ME) -
Parser Error Could Not load Type (HELP ME)again... there is no folder called bin in root folder of the application. I do not have a folder called bin and there are no .dll files. Someone help!
-
Parser Error Could Not load Type (HELP ME)The following is the error i keep getting: ------------------------------------------------------- Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. Parser Error Message: Could not load type 'upload'. Source Error: Line 1: <%@ Page Language="C#" AutoEventWireup="true" CodeFile="upload.aspx.cs" Inherits="upload" %> Line 2: Line 3: Source File: d:\webs\omixad\upload.aspx Line: 1 --------------------------------------------------------- I have a simple upload.aspx file that has a fileupload object on it and actually uploads files to the server. ---------------------------------------------------------------------------------------------- <code><%@ Page Language="C#" AutoEventWireup="true" CodeFile="upload.aspx.cs" Inherits="upload" %> <script> Untitled Page
------------------------------------------------------------------------------------------- The code behind file is upload.aspx.cs -----------------------------------------------------------------------
using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; public partial class upload : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } protected void UploadBtn_Click(object sender, EventArgs e) { if (FileUpload1.HasFile) { //FileUpload1.SaveAs(@"C:\temp\" + FileUpload1.FileName);
-
When main thread working the Whole Form FreezesHow can i prevent my form from freezing when doing a large fucntion. For instance: I read a 20,000 line file line by line. after each line i do something with the data. This could take a long time. So i would use a progress bar to show progress. The progress bar starts but after a couple of seconds the progress bar does not move and the form freezes up until the process is finished. How can i prevent this from happening. Do i use another Thread? :rose:
-
Setting up home Folders in Active DirectoryI am trying to setup home folders for all my users in active directory and redirect their My Documents folder to the home folder on the Domain Controller 1>The idea is to save all data on the server so it can be backed up. This is what i have done so far with no luck. 1> Created user, Selected properties for the user, select the profiles tab, in the home folders group box i selected local path and provided a local path I also used the %username% so that it will automatically create a folder for the user. (which it currently does not do when the user logs in onto the domain) 2> To redirect myDocuments i went into the default domain policy and configured the redirection policy for mydocuments to point to the home folder. (With no success) 3> When i logged in with a test user no new folder for the user was created on the server and after i saved a text document in my documents it was all local to the workstation. What am i doing wrong or missing. Thanks for the help in advance Kourvoisier
-
Passing command line arguments to the main methodThanks!!! new it was something easy
-
Passing command line arguments to the main methodThis just baffles me! I know it is something simple and right under my nose but cant figure it out static void Main(string[] args) { MessageBox.Show(args[0]); } How do i pass in arguments prior to running this program.
-
DLL ProblemIf your using Visual Studio be sure to add a reference to it By right clicking the name of your project and selecting add reference in the solution explorer. Browse to your .dll and select it. if you have: using MYClassNameDLL; at the very top of your code You are now ready to use your .dll in your code. Hope this helps
-
Drawing with c#Refreshing the form was exactly what i needed to do. Thanks alot.