Running Foxpro Exe File?
Jun 8, 2010
Has anyone had any experience trying to run a foxpro based .exe file from an asp.net page? How about just a regular asp page? My company has a com object that fires off a foxpro EXE to create a PDF document based on the user input. But we can't get the exe to fire from the COM object in our soon to be production environment. So if our hardware/network/security guys can't figure it out, I am wondering if I can, instead of calling the EXE from the com object, call it directly from the page? I have the input parameters set and available, but for some reason I keep getting an error saying that the parameter value is invalid. Yet I look at the values that are being passed to the com pbject and they are indentical.
View 3 Replies
Similar Messages:
May 10, 2012
I use VS2008, ASP.net. I made a server side ASP.net page. This page connect to Visual Foxpro database.
It is running fine in development environment.
However, when run through brower with [URL]
The form displayed, when connect to database, it can't connect to the database.
View 1 Replies
Aug 6, 2010
Well I Am Working On A Client Project Who Was Earlier Using A Software Developed On Foxpro database And Now I Am Developing Advanced Reporting Based On Same Data Of Existing Database
I Am Prohibited To Create New Database, I Have To Use Existing Database Now Problem is That There Is A Report Which Require data from multiple database
database are related Like This
Database (a) 1 Column is Common in Common In Database (b)
database(b) 1 column is common in database (c)
like that
what i am doing is that, I First Filled A Dataset With Required Value Then I loped This Dataset Row For Value On Which I Have To Get Data From Another Database Again I Stored new data in another dataset and After Looping, I Merged It With Previous One.
View 1 Replies
Jan 8, 2010
I am using SQL Server 2005 and i have a application that using FoxPro.
Can I load the data into SQL Server's table from FoxPro? if yes, i would like schedule this job daily, can i write it in Store Procedure and run daily in special time?
View 7 Replies
Oct 12, 2010
I am searching for a solution to pass a large dataset from visual foxpro(vfp) to a .net web service. The data is personal information such as names, address, phone numbers, etc. with 7 more columns containing id's and other parameters.
We tried cursor to xml dataset but the file size is very large. So my idea is to pass json formatted string. We need to accommodate up to 1 million rows of data
I found this solution on the web for json webservice. [URL] Can this work for such large datasets? Is there anything better suited for my situation
I found this class for VFP [URL] which promises to do what is needed as far as converting to json format. Should this work? Is there anything else I am missing here?
View 1 Replies
Jul 8, 2010
I have an application I am trying to write that generates a text file conforming to a file specification, and the file could contain thousands of lines. This part is easy. The more challenging part for me is the user interface. It needs to be a web interface with various options to affect what data gets on the file; this part is no problem. The process for generating the file, though, could take a little time depending on the amount of data , and I would think the web page would time out.
What options do I have for the UI? Could I create some sort of service that the page calls and runs in the background? When the process errors or is finished, I'm thinking there could be an email sent out, or even messages displayed on the page.
View 4 Replies
Aug 18, 2010
i have a upload control that alllows users to upload files to the server. and a drop down list that shows the contents of the files in the folder.
And a button labeled execute.
The .txt i need them to upload will give insert queries that the server needs to run upon clicking the execute button.
View 4 Replies
Feb 17, 2011
I have a .NET 2.0 web application which is running fine in file system. When I configure the same in IIS 6.0, I am getting config errors. Source Error:
Line 6: <system.web>
Line 7: <pages>
Line 8: <controls>
Line 9: <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
Line 10: </controls>
Here's the entire web.config file:
<?xml version="1.0"?>
<configuration>
<configSections>
</configSections>
<system.web>
<pages>
<controls>
<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
</controls>
<tagMapping>
<add tagType="System.Web.UI.WebControls.CompareValidator" mappedTagType="Sample.Web.UI.Compatibility.CompareValidator, Validators, Version=1.0.0.0"/>
<add tagType="System.Web.UI.WebControls.CustomValidator" mappedTagType="Sample.Web.UI.Compatibility.CustomValidator, Validators, Version=1.0.0.0"/>
<add tagType="System.Web.UI.WebControls.RangeValidator" mappedTagType="Sample.Web.UI.Compatibility.RangeValidator, Validators, Version=1.0.0.0"/>
<add tagType="System.Web.UI.WebControls.RegularExpressionValidator" mappedTagType="Sample.Web.UI.Compatibility.RegularExpressionValidator, Validators, Version=1.0.0.0"/>
<add tagType="System.Web.UI.WebControls.RequiredFieldValidator" mappedTagType="Sample.Web.UI.Compatibility.RequiredFieldValidator, Validators, Version=1.0.0.0"/>
<add tagType="System.Web.UI.WebControls.ValidationSummary" mappedTagType="Sample.Web.UI.Compatibility.ValidationSummary, Validators, Version=1.0.0.0"/>
</tagMapping>
</pages>
<!-- Set compilation debug="true" to insert debugging symbols into the compiled page. Because this affects performance, set this value to true only during development.-->
<compilation debug="true">
<assemblies>
<add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add assembly="System.Transactions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/></assemblies>
</compilation>
<httpHandlers>
<remove verb="*" path="*.asmx"/>
<add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>
</httpHandlers>
<httpModules>
<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
</httpModules>
</system.web>
<!--<system.web.extensions>
<scripting>
<webServices>
--><!-- Uncomment this line to customize maxJsonLength and add a custom converter --><!--
--><!--
<jsonSerialization maxJsonLength="500">
<converters>
<add name="ConvertMe" type="Acme.SubAcme.ConvertMeTypeConverter"/>
</converters>
</jsonSerialization>
--><!--
--><!-- Uncomment this line to enable the authentication service. Include requireSSL="true" if appropriate. --><!--
--><!--
<authenticationService enabled="true" requireSSL = "true|false"/>
--><!--
--><!-- Uncomment these lines to enable the profile service. To allow profile properties to be retrieved
and modified in ASP.NET AJAX applications, you need to add each property name to the readAccessProperties and
writeAccessProperties attributes. --><!--
--><!--
<profileService enabled="true"
readAccessProperties="propertyname1,propertyname2"
writeAccessProperties="propertyname1,propertyname2" />
--><!--
</webServices>
--><!--
<scriptResourceHandler enableCompression="true" enableCaching="true" />
--><!--
</scripting>
</system.web.extensions>-->
<!--<system.webServer>
<validation validateIntegratedModeConfiguration="false"/>
<modules>
<add name="ScriptModule" preCondition="integratedMode" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
</modules>
<handlers>
<remove name="WebServiceHandlerFactory-Integrated"/>
<add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
</handlers>
</system.webServer>-->
View 2 Replies
Aug 29, 2013
in my application i am checking that windows media player plugin is available in the mozilla firefox or not.after that, if plugin is not available i have to run the wmpfirefoxplugin.exe through the javascript. or code behind.how to run the exe file through code.
View 1 Replies
Jan 28, 2011
First of all, i have multiple aspx files in my project that run fine when i build my project, however, something has happened and im no longer able to run "NEW" aspx files. I continually get the error "Parser Error Message: Could not load type 'newebrpss.Contracts'." which doesnt make sense because
[Code]....
Keep in mind..all im doing is just creating the file through right click project>>>new item>> Contracts.aspx and hit run only to get this.
View 6 Replies
Mar 22, 2011
I have WCF method that opens and reads text file when I call it from WPF client, I do pass security credentials and it works fine, but when I try to put this method inside of BackgroundWorker I get Access to the path.
View 1 Replies
Oct 30, 2010
I have a fairly big ASP.NET 3.5 website that refuses to open any page via the 'View in Browser' option of VS2010, i.e. the LocalHost facility does not work. All I get is a 'File Not Found' error.
Two other ASP.NET 4.0 sites (which are much simpler and do not have any SQL Server connections) can be viewed without any problem via the LocalHost service.
View 9 Replies
Mar 29, 2011
In my application users can write their own 'templates'. That are filled with data from other sources. I could use a simple token replacement, but I would like to be able to use the Razor syntax and engine for rendering the template. Here is an overly simplified example:
[Code]....
Before you point to the following sources I will clarify what I have learned from them:RazorEngine (http://razorengine.codeplex.com/). This code compiles the string into a class, then a dll, then finally reads from a dll - all this to bypass the MVC engine. I don't want to do that because I am in MVC and don't want the additional overhead.The following blog shows how to do this for one of the MVC 3 pre-releases:http://buildstarted.com/2010/09/28/mvc-3-razor-view-engine-without-a-controller/ I cannot get it to work with MVC 3 RTM. When I take the exact code (and replace the CshtmlView with a RazorView) I end up with the error: The method or operation is not implemented. It appears to have something to do with @Model.Name, and being unable to find "Name".A comment in the blog elludes to a statement from ScottGu that the RTM would allow this functionality from the get go. I cannot find this blog.
View 10 Replies
Jun 17, 2010
I have uploaded site on web server but I am having the following error.
"Could not load file or assembly 'MySql.Data, Version=6.1.3.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependencies. The system cannot find the file specified.
Description:
An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.IO.FileNotFoundException: Could not load file or assembly 'MySql.Data, Version=6.1.3.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependencies. The system cannot find the file specified.
View 4 Replies
Nov 22, 2010
why FLVPlayback isn't working properly in MVC views? I think i narrowed it down to the "hard coded" skin url file not being correct. Where should I put the skin file( e.g. skinOverAllNoCaption.swf) so that flash can find it? Or are there any alternative approaches to somehow setting the skin file dynamically.
View 1 Replies
Jun 2, 2010
function postForm()
{
$.ajax({ [code]....
the dialog box is opening after running this code which is asking to save file. Why does this box comes afterall?
View 2 Replies
Jan 4, 2013
my form is having a label and a button, assume that you opened my website in ur system through url and now when u click the button it has to read a text file from the specified path in ur machine and display the data in label. i mean whatever machine is running my program it has to read the data from specific path from current running client machine.
View 1 Replies
Jun 21, 2010
My site contain dynamic default page that consist of webparts.When i run my project on local server in my web browser msg gets display page isn't redircted properly.
View 7 Replies
Jul 1, 2010
I am executing a long-running Oracle stored procedure from .NET. The procedure takes about three hours to run. Ideally, the user should be able to kick off the procedure, close the browser, and come back later to check the results.
The problem is that the connection to the Oracle procedure is lost after exactly an hour. As you would expect, the Oracle procedre runs to completion if it is executed from SQL Plus. Strangely enough, it will also run to completion if I run in debug mode on my local machine (I start two threads, one of which executes the procedure. I set a breakpoint on the second thread).
Here is my connection string:
data source= (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=serverx)(PORT=1521)))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=TestSID)))
Some relevant sections from web.config:
<sessionState mode="InProc" cookieless="false" timeout="3000" stateNetworkTimeout="72000"/>
<httpRuntime executionTimeout="18000" maxRequestLength="2097151" />
Any thoughts as to why the connection is being lost in exactly an hour, and what I can do to maintain the connection until the procedure finishes?
View 1 Replies
Jun 29, 2010
We are going to start accepting resumes online but I need to know if the uploaded files will be virus scanned before I park them into the database. I thought this would be a server thing but the server admin and the security guy both said they didn't know. We already have a firewall and antivirus software, I just want to know how things work with native ASP.Net controls and not a product to try.
View 2 Replies
Sep 7, 2010
I have a web service which is running fine when i call it from a handler page (.ashx).
My web service returns a zip file.
But when i call the same code from my aspx page then i get a corrupted zip file. Code for calling is below and is same in both ashx class and aspx page.
[code]....
View 1 Replies
Nov 4, 2010
I'm having a problem when trying to run a SQL script from c#. I'll post my code below. I have been searching the net for a few days now and I believe my code is now correct, however I do not know how to fire it off to run the .sql file.
Default2.aspx
[Code]....
Default2.aspx.cs
[Code]....
.sql script
[Code]....
I'm not getting any errors when running the page and the data is not going into the table that the .sql is telling it to do so. I've tested the .sql using the SQL Query Analyzer and it works fine.
View 13 Replies
Nov 29, 2010
I have a problem with my IIS setting and I am not sure how to fix it. I created a new website which is based on .net 4.0. If I set the ASP.Net version to 2.0 for the website and try to browse to the site, I get the Run time error in the web.config which is understandable. If I change the asp.net version to 4.0 and try to browse to the website, I get the page not found error (see below). Any ideas what is wrong? I am hosting both 2.0 and 4.0 apps on this machine but this is the first time I am trying to run .net 4 application.The page cannot be foundThe page you are looking for might have been removed, had its name changed, or is temporarily unavailable.Please try the following:Make sure that the Web site address displayed in the address bar of your browser is spelled and formatted correctly.If you reached this page by clicking a link, contact the Web site administrator to alert them that the link is incorrectly formatted.Click the Back button to try another link. HTTP Error 404 - File or directory not found.Internet Information Services (IIS)
View 4 Replies
Jan 17, 2010
i have doing a video stream project,so i am facing a probrem while i encode the video.
after the user upload the video,i call a funtion continue after the video complately uplaod.
the problem is while the server side encode the video,i make the use have to wait at that page until the video is complately encode. is that any posible to seperate the upload and encode running?is that using
i wish to do is after the user upload the video,it can free using the webpage again .and in the same time the video is undergoing encoding trigger by video competely upload at the server side.
View 3 Replies
Jan 3, 2010
This may be obvious to many of you (hopefully!) I have a site under asp.net created using Visual Web Developer 2008 and MSSQL 2007 (all express editions)All ok so far.My PSP requires the addition of a couple of traditional ASP 'screens' to redirect payments to them. I cannot run this under VWD2008 development server as .asp are not allowed, so am looking to move to running it locally under IIS7 which is turned on.How do I alter the site to run on the IIS7 instance?
View 3 Replies