Web Forms :: Read Root On Unix Server?
Mar 4, 2010
how to connect to unix root and view all file in one specific path.
I need to view mentioned files on page, tree view, etc.....
Usualy i loginig via Winscp with user and pass and manualy checking that root.
View 6 Replies
Similar Messages:
Sep 16, 2010
I want to run my asp.net site over my php hosting server/
In other words i want to run my site over apachi server
View 4 Replies
Jan 27, 2010
I ran into the following issue when trying to run a test website on IIS 7.5 (Windows Server 2008 R2 DatacenterEdition). The web-app is configured to run with framework version 3.5 in a .Net 2.0 app pool. Also the framework 4.0 beta 2 is installed on the server. The application named 'TestPfade' is located under the website's root named 'Default'. It is not only a virtual directory but defined as an application. The folder structure looks like this: The markup of the sole document reads as follows:
[Code]....
When viewed in a browser the image gets shown because the given relative path is correctly resolved to 'images/Lighthouse.jpg' but the paths to the ajax-framework resources also include the application's root folder and therefor aren't found: 'src="/TestPfade/WebResource.axd?d=1bX...' Here is the complete html-source generated:
[Code]....
View 9 Replies
Feb 11, 2011
I am using iis 5.1 in which we have only only one default website, I have two projects v2 and v3 my website points to v2 projects and have some folders images, styles etc now i have a virtual directory under this website that is hosting project v3 and having the same folder hierarchy as v2 in the home page of the both projects i have img src="imagesedlogo.gif" alt="logo"/> but this shows the same image that is in the v2 directory, How can i show different images for both projects. using "" get the root of the web site but how can i get the root of virtual directory under that website
View 2 Replies
Sep 17, 2010
How can you request the root default.aspx without specifying it in the url for your root application?e.g. ttp://localhost/MyApp/ instead of http://localhost/MyApp/Default.aspxshould be able to do bothI'm not sure if this is a setting in IIS 7.5 for the application or what.
View 3 Replies
Feb 3, 2011
I'm in process to create a few utilities for my team to make life a bit easier working with our Unix boxes(most of them Solaris based).
For example I'm creating a ASP .NET page to display the output of TOP. Also plan to be able to restart processes with the KILL -15 command.
Now I wonder if there is any nice modules out the do the work for me or am I better off just going ahead with my own SSH communication?
It would of course make sense building the app on the unix box directly but I'm not able to do this.
View 1 Replies
Jul 18, 2010
how to make a remote shell connection to execute the unix commands from asp.net
View 3 Replies
Jul 28, 2010
First of all, feel free to move this thread if you find it inappropriate for this section of the forum. I placed it here since I intended to use ASP.NET.
So here's my concern...
How do you retrieve a text file from a UNIX workstation? This text file contains information structured like a table (or like a database). I need to create a custom report (in a Windows PC) based on that text file.
View 18 Replies
Dec 8, 2010
I would like to know whether application developed in Microsoft Visual Studio .Net 2008 has the compatible to run in Linux and Unix environment.
View 2 Replies
Sep 9, 2010
I am using asp.net 3.5. And i am serializing an object in server, I rent a hosting and i want to modify something in a dinamic way with XML,
This is my code :
Stream writer = new FileStream(Environment.CurrentDirectory + @"public_html" + nombrearchivo.Text, FileMode.Create);
serializer.Serialize(writer, p);
this is my error massage:
Exception Details:
System.UnauthorizedAccessException:
Access to the path
'C:WindowsSysWOW64inetsrvdasd.xml'
is denied.
View 3 Replies
Nov 18, 2010
i need to create xml document from SQL with the root elements & the sub elements
how do i do it uisng vs2005
i do have a xsd. the generated xml shld be validated with the given xsd
View 3 Replies
Feb 28, 2011
I want to write a sitemap.xml to the root folder of my website automatically every month. Ofcourse I havent given the IIS_IUSRS group full permissions on the root folder of my website or on sitemap.xml
But what permissions should I give to which usergroup on which folder/file in order to have my ASP.NET application update the sitemap.xml from within the asp.net web application?
View 6 Replies
May 17, 2010
I have written code to upload file through httpweb request.No I want to save this file outside the root folder on server.
View 2 Replies
Jul 26, 2010
I'm creating a custom server control which needs to take in a root-relative path for one of it's properties. I use the UrlProperty, but when I select a file in the markup, the selected path doesn't inlcude the the "~/". I'd like to mimic the behavior of a hyperlink. So let's say I have this:
<asp:HyperLink ID="HyperLink1" NavigateUrl
When I type in an equals sign after the NavigateUrl property, intellisense pops open a URL picker and I can pick from any page to produce this code:
<asp:HyperLink ID="HyperLink1" NavigateUrl="~/default.aspx"
this code has the "~/" in front. When I use my control, I have this:
<cc1:TestControl ID="TestControl1" Url="default.aspx"
the C# code has this property:
[UrlProperty]
public string Url { get; set; }
Does anyone know how I can make the "~/" be placed in front to make a root-relative path?
View 3 Replies
Dec 20, 2010
I have a function that will take a file uploaded by a user of my system and store the contents of the file into a varbinary(max) field in a sql server database. I then display the filename of the file in a data grid for the user to see as a link button. When the user clicks on the link button, I want the file to be read from the database and served out to the user as a prompt to download the file. How can this be accomplished? The upload is fine, it is the download I can't figure out. Here is what I have so far.
[Code]....
I get the download to prompt, but it is showing the name of my .aspx page as the file to be downloaded.
View 1 Replies
May 27, 2010
I tried this code by inputting the ftp address as ftp//: and the correct username and password and I get the following error
"Unable to connect to the remote server" on line :
FtpWebResponse Response = (FtpWebResponse)Request.GetResponse();I tired this on my ftp server provided by a hosting service and an anonymous ftp located at 193.166.120.5 ?
Note: I was able to connect to both of these ftp through filezilla, via a webbrowser, and through windows command line.
View 1 Replies
Apr 23, 2012
I used the code posted on the link [URL]....
I'm getting the following error
"The OLE DB provider "Microsoft.ACE.OLEDB.12.0" for linked server "(null)" reported an error. The provider did not give any information about the error. Cannot initialize the data source object of OLE DB provider "Microsoft.ACE.OLEDB.12.0" for linked server "(null)"."
 I am running SQL 2005 on Windows SBS 2003 server.
Also on solution 3 you running the below sql query
Do i need to run it on the master database or on my database?
USE [master]
GO
EXEC master.dbo.sp_MSset_oledb_prop N'Microsoft.ACE.OLEDB.12.0', N'AllowInProcess', 1
GO
EXEC master.dbo.sp_MSset_oledb_prop N'Microsoft.ACE.OLEDB.12.0', N'DynamicParameters', 1
GO
View 1 Replies
Sep 20, 2010
How to read a .doc file from as a string in asp.net page to a literal control without format loose and to display images also.
Is it possible to read .pdf as above.
View 1 Replies
Aug 10, 2012
I am having a list of contents in the notepad.
I having the following content.
000012|vasanth|Sofware Engineer|Chennai|
0000215|Arun|ASE|Keral|
The field is static and the column name is ID,name,Designation,City.
I need to read the note pad charecter by charecter and i have to insert the records corresponding in the field which is seperated by "|".
View 1 Replies
Jul 21, 2010
Read Receipt And Read Outlook Inbox for the same
View 2 Replies
Jan 19, 2010
ok in one of my application i want .aspx page path from the root that is when i click on text box or any other controll there should be window same as when we try to add img url we get window like that window i want.so that if i select any page i get url from the root .like
~/default.aspx is from root if it is in some base folder say Folder1 then how i get url ~/Folder1/page.aspx.
I am asking this because user can select any page from any folder and they should get path with respect to root
View 4 Replies
Jan 6, 2011
I am working on storing pdf file in sql server database and then reading a portion of it and displaying in html.
View 2 Replies
Dec 3, 2010
I want to read a value from database, using stored procedure i will paste my code below
ALTER
PROCEDURE [dbo].[msp_exceedingtimesheet]
-- Add the parameters for the stored procedure here
@Fullname nvarchar(50)
AS
BEGIN
[Code]....
View 2 Replies
Dec 22, 2010
I am saving the date in database as 12/21/2010 12:00:00 AM. I want to retrive only 12/21/2010.I have DateTime dt = frmDate(from database); In dt i am getting 12/21/2010 12:00:00 AM. I just want 12/21/2010 in dt.
View 19 Replies
Mar 14, 2010
I don’t know where to put this Query.
I am trying to open .dbf file from the server for which I have written below code.
Now, the problem is connection string accepts only physical path from the client machine where as I want it to pick file from the server.
System.Data.Odbc.OdbcConnection oConn = new System.Data.Odbc.OdbcConnection();
oConn.ConnectionString = @"Driver={Microsoft dBase Driver (*.dbf)};SourceType=DBF;SourceDB= http://localhost:1308/CNCScheduling/...;Exclusive=No; Collate=Machine;NULL=NO;DELETED=NO;BACKGROUNDFETCH=NO;";
oConn.Open();
System.Data.Odbc.OdbcCommand oCmd = oConn.CreateCommand();
string sPathApp = Request.ApplicationPath.ToString() + "/";
string sPathFull = Request.Url.OriginalString.ToString();
int iPathFullLen = sPathFull.ToUpper().IndexOf(sPathApp.ToUpper());
string sPathPrefix = sPathFull.Substring(0, iPathFullLen) + sPathApp;
string sRPTFile = "XABCL.DBF";
string sCrvPage = "D:\databases\" + sRPTFile;
oCmd.CommandText = @"SELECT * FROM " + sCrvPage ;
DataTable dt = new DataTable();
dt.Load(oCmd.ExecuteReader());
View 7 Replies