Accessing Merging IIS Extended Log Files?
Oct 18, 2010
I need to access, merge and parse my log files using my asp.net application programmatically. I use shared hosting and as I can see log files are out of the root directory of my website? Is there anyway to access those files from my application?
View 1 Replies
Similar Messages:
Feb 23, 2010
Is it possible to merge several JavaScript files being used on a site into one? I'm looking to do this to minimize server loads by forcing only one download. This way I can keep my JavaScript organized into separate files and still have efficiency.
View 2 Replies
Aug 31, 2011
Is it possible to take 10 (or more or less) pdf files in a directory and merge them into a single PDF file to display to the user? Obviously I would prefer to not pay for something if I don't have to
I'm working in ASP.NET 4.0 with C# in the code behind.
View 3 Replies
Apr 12, 2010
I was merging my web.config file and one I downloaded for open source forums, as it told me to. I copied the different lines myself, but now I'm getting three compile errors in my file.
Here are the errors:
1- The 'compliation' start tag on line 47 does not match the end tag of 'system.web'. Line 205, position 4.
2- Tag was not closed. (On line 47, column 4)
3- Expecting end tag </compilation>. (On line 205, column 3)
I'll also post my web.config file below.
[Code]....
View 5 Replies
Aug 15, 2010
I have a collapsible panel on my page that has been working up until yesterday. I have no idea what changed, however, it is no giving me the following error.
Microsoft Jscript runtime error: 'Sys.Extended.UI' is null or not an object.
Below is the code for the Collapsible Panel, however, I don't think it has anything to do with it since it has always been working.
<asp:CollapsiblePanelExtender
ID="cpeStandardInformation"
runat="Server"
TargetControlID="pnlCreate"
ExpandControlID="imgStandardInformation"
CollapseControlID="imgStandardInformation"
Collapsed="False"
ExpandedImage="~/images/Minus-Green-Button.png"
CollapsedImage="~/images/Add-Green-Button.png"
SuppressPostBack="true"
ImageControlID="imgStandardInformation"
/>
View 3 Replies
Nov 22, 2010
I have an application where I need to be able to load files from an SDCard inserted in a client pc and have the files loaded to the server. I had the processing working just fine when I was executing it locally, but when I try to run it on a server, of course it would not work, since the card was not available to the server.
I found some info on some of the forums about sharing the card on the client and then mapping the share on the server. I did this, but for some reason, I cannot see the mapped drive. I tried several variatioins of the DriveInfo.GetDrives method and while it shows the drives that are local, it does not show the network drives.
If there is a better way to do this, I am open to changing my direction.
View 3 Replies
Jul 15, 2010
My web service needs to open some files located on a remote computer.
From Windows I can do the authentication so I can see those files using the File Explorer.
If I try to open the files from my Web Service while it's running using Visual Studio (ASP.NET Development Server) it also works.
However, if I do everything from IIS it doesn't.In order to find out where is the problem what I did was to run a network sniffer and I found out that when using IIS, the system will try to use the account 'ASPNET' to login into those remote computers which will obviously fail.
However this doesn't happen if I run from the IDE (Using the ASP.NET Development Server)I found out that if I use Impersonation for accessing this it will work, the problem is I need to have the same account names on the computer running IIS so I would rather not to do that.
Why is it working from the ASP.NET Development Server and not from IIS? Is there a way to give full access to the ASPNET account?
View 1 Replies
Oct 25, 2010
I want to create an asp.net based website. When I create the sit eon my local machine I am uploading pdf files to my file system then accessing the files to view in my website. When I make the site go live how do I translatye this? Can I have files saved somehow with my interenet host? How would I access the files though the internet host on my application?
View 2 Replies
Oct 12, 2010
I have file locations stored in my DB. The locations are mapped drives on a different server. How can I access them? Do I need to set something up in IIS?
Here are som example locations:
\FILESERVERP4W$Documents - FCClient�0510911000LE~1.DOC
V:471471231File Note 28.11.08.1.doc
View 11 Replies
Jan 29, 2010
When I link to a file in a web folder which is user/password protected on the host, I get a panel requiring me to enter the correct user id and password.
I would like to create a link in my form that provides the id and password without exposing it to the user. How can I do this?
View 2 Replies
Oct 29, 2010
I need to access image files (.jpg) on a server other than the web server my app runs on. I would like to use an httphandler to do this but I am unsure of the syntax to specify the path. I have tried mapping a drive on the web server to the file server but that didn't work. I have tried using a UNC path but that did not work either.
View 1 Replies
Mar 3, 2010
You've probably noticed that when you debug an error which comes from an ASPX or ASCX file (literally, not from a corresponding code-behind file), ASP.NET displays an error page showing you the source file and the line on which the error occurs. The source file being displayed is automatically generated from parsing the page/control. The question is: how can I see this source file without purposely causing an exception?
I'd love to hear that there is some programmatic way (the complexity doesn't matter) to generate source files (preferrably, .cs) from a series of ASPX/ASCX files.
Example. Consider the following ASPX page (the code-behind file may even be absent):
<%@ Page Language="C#"%>
<%@ Register Assembly="AspxGen" Namespace="AspxGen" TagPrefix="ag" %>
<html>
<head><title>Some Title</title></head>
<body>
[Code]....
d:DevAspxGenAspxGenDefault.aspx(9,80): error CS0103: The name 'ThereIsNoSuchProperty' does not exist in the current context
This means, theoretically I can open the .CS files passed to the compiler (namely, App_Web_sqj3krv3.0.cs and App_Web_sqj3krv3.1.cs) and see what ASP.NET has generated from my ASPX markup. Trying to rephrase the previous question: how can I obtain this file from an arbitrary ASPX file (assuming that the file is correct and hence no info will be given on where to search)?
View 3 Replies
Mar 23, 2011
I am building a web page that will be presenting users two dataset results from two stored procedures in sql but the data is not similar. Is it possible to present both datasets to users in one datagridview? I am unable to do a union of the data in SQL due to the fact that the results aren't similar and wanted to see if I could work around this issue with .net.
View 3 Replies
Mar 20, 2010
I have two datasets called ds and ds1 that I want to merge into a grid. I get data from the first dataset to display in the grid but the second dataset where I want to display a count I don't get any data from it. I am trying a ds.Merge(ds1). here is the code i have for the sub. What am I doing incorrectly?
Code:
[code]....
View 9 Replies
Jan 14, 2011
I created an ASP.NET site in Visual Web devloper 2010 & then published it to our webserver. Due to the nature of the site, there are several users updating the content on the site (e.g. news pages). Is there a simple way to merge these changes back into my project? Can I just copy the published site back over my project folder which should overwrite the aspx pages but leave the code behinds untouched?
View 4 Replies
Aug 9, 2010
I have these two methods on a service:
public Offer GetOffer(int id, string languageCode = Website.LanguageSettings.DefaultLanguageCode)
{
Entities.Offer offerEntity = _db.Offers.FirstOrDefault(offer => offer.Id == id);
if (languageCode.ToLower(CultureInfo.InvariantCulture) != Website.LanguageSettings.DefaultLanguageCode)
{
using (IDocumentSession session = store.OpenSession())
{
Translation.Offer translatedOffer = session.LuceneQuery<Translation.Offer>(Website.RavenDbSettings.Indexes.Offers)
.Where(string.Format("ObjectId:{0} AND LanguageCode:{1}", id, languageCode))
.OrderByDescending(offer => offer.Id)
.FirstOrDefault();
var offerPOCO = Mapper.DynamicMap<Translation.Offer, Offer>(translatedOffer);
offerPOCO.Id = offerEntity.Id;
return offerPOCO;
}
}
return Mapper.Map<Entities.Offer, Offer>(offerEntity);........................................
View 4 Replies
Feb 1, 2011
I want to access to the ViewBag from javascript, so I can access to this variable in the future from javascript.Im trying to do this:
var array = new Array();
@for (int i = 0; i < 5; i++)
{
array[i] = @ViewBag.FriendsId[i]);
}
View 5 Replies
Jan 7, 2011
I have three tables. I need to merge these three tables into one table. There is an ID column in all these three tables. The ID's can be same in all three tables or they can be different. If the IDs are same then I need to merge based on those ID's so if the ID 1 exists in Table A, table B and Table C then one row will be created in the resulting master tables, but if the Id's are different then one individual row will be created in each table.
Also, some of the columns are same in all three tables, but some are different, but if the ID is same then I just want to append that column in the existing table.
View 4 Replies
Sep 15, 2010
What would it be the simplest way to merge a result like this from a sql query to be displayed in an asp.net gridview?
NULL Tarde Fer W. Lunes
Mañana NULL Fer W. Lunes
I need the result to look like this
Mañana Tarde Fer W. Lunes
View 2 Replies
Feb 16, 2011
i lunched an asp.net web-site. the main idea in the site is that:the site shows the same page, but on each next button the user clicks, the pictures in the site change randomly. im working with postback and sessions.
i noticed that when a few users try to log into my site - their sessions are merging. meaning, the first picture presented is diffrent but the second picture is the same for all the users, and so on... (moreover, pictures that appears in the begining appearing again even thow i don't allw it in my code)when i tried to debug the site locally, the random function works perfectly and there were no such problems. it haapens only when 2 users and more log into my site.
View 1 Replies
Oct 15, 2010
I'm very new to jQuery, and have little experience using JavaScript,I've found what to me looks like a fantastic crop tool using jQuery ( http://deepliquid.com/content/Jcrop.html ).What I need is to merge example 2 and 3 together, as I'd like both the preview panel AND I need the coordinates. The two bits of JS are:
<script language="Javascript">
// Remember to invoke within jQuery(window).load(...)
// If you don't, Jcrop may not initialize properly[code]....
View 2 Replies
Nov 18, 2010
I have a dataset dsvalue that has columns Id and views. An other dataset has quite a number of columns including Id. So for each id in dataset ds, i should add a new column "Views" and merge it with views from dsvalue.
View 1 Replies
Jan 3, 2010
Before I can upload my web site I need to merge my 6 small databases into one otherwise I am going to pay unreasonable hosting fees.Is there any easy way to do this?
View 4 Replies
Apr 14, 2010
We just upgraded from 2.0 to 3.5 and the latest AJAX Toolkit. AjaxControlToolkit.dll is version 3.5.40412.0
Project references are up to date. The old Toolkit files were deleted and the new ones copied from the distribution ZIP. ScriptManagers were replaced with ToolkitScriptManagers. The project builds with zero errors. The built-in AJAX controls (UpdatePanels, etc.,) work but the Toolkit controls don't. This is happening on local developer boxes and on our development server.
The javascript error we're seeing is "Sys.Extended is undefined." It's occurring in server-generated script blocks like this:
<script type="text/javascript">
//<![CDATA[
(function() {var fn = function() {$get('ctl00_ToolkitScriptManager_HiddenField').value = '';Sys.Application.remove_init(fn);};Sys.Application.add_init(fn);})();Sys.Application.initialize();
Sys.Application.add_init(function() {
$create(Sys.Extended.UI.TextBoxWatermarkBehavior, {"ClientStateFieldID":"ctl00_PageTop_Search_TextBox_TextBoxWatermarkExtender_ClientState","WatermarkCssClass":"Watermark","WatermarkText":"keyword","id":"ctl00_PageTop_Search_TextBox_TextBoxWatermarkExtender"}, null, null, $get("ctl00_PageTop_Search_TextBox"));
});
//]]>
</script>
I found a similar post on CodePlex: http://ajaxcontroltoolkit.codeplex.com/WorkItem/View.aspx?WorkItemId=26717&FocusElement=CommentTextBox
View 1 Replies
Mar 7, 2010
I am using aspnet_regsql.exe to add membership tables to my database.
when I click the exe file it just opens up an XML file in visual web developer and does not start the wizard to merge the databases.
the run command where file is located is below
C:WINDOWSMicrosoft.NETFrameworkv2.0.50727
I just get the file below opening instead
[Code]...
View 1 Replies