Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    ASP.NET


Advertisements:










Configuration :: Combine Two Websites Into One?


i am new in asp.net i dont know to how to combine two asp.net web site into one like domain and subdomain concept. i know the procedure to host one web application in local iis. how to combine two application and how to host in local iis i.e) single url as domain(one web application) and subdomain(another web application).

The url should be like these:

http://localhost/firstapplication/

http://localhost/secondapplication.firstapplication/


View 3 Replies (Posted: Jul 27, 2010 07:17 AM)

Sponsored Links:

Related Forum Messages For ASP.NET category:
Configuration :: Use To Copy/publish Websites To Web Server Is Not Allowing Us Access To Push Websites?
the account we use to copy/publish websites to our web server is not allowing us access to push websites. I've added this account to the permissions in the links listed in the belowlink, but i don't have success when trying to push remotely. When the account is in the local admins account, everything works flawlessly, but we are not allowed to have it in there.http://social.msdn.microsoft.com/Forums/en-US/vssetup/thread/31be047e-4716-4974-b8a1-be0111b50199I've googled and searched a lot for this particular error, but am not finding an answer that helps. We get this error, 'Unable to create the Web 'http://edea01/test/planning'. You are not authorized to perform the current operation', and the above link is the scenario that matches mine the most. I don't do develompment work, but am asked to figure out this connection problem.

Posted: Oct 15, 2010 11:33 PM

View 3 Replies!   View Related
Configuration :: Access Websites From Particular IP?
i ve deployed a site, i want to give access only to particular IPs (192.168.0.12 to 192.168.0.80). If a request is coming from particular IPs then site should open otherwise aauthenticationmessage shown to other users. How can we achieve this?

Posted: Oct 05, 2010 04:51 AM

View 3 Replies!   View Related
Configuration :: Use The Same Web.config For Different Websites?
How can use the same web.config for different websites?

Posted: Nov 10, 2010 10:14 AM

View 2 Replies!   View Related
Configuration :: Cant Run Websites After Installed The VS 2010?
After i Installed the VS 2010. I ran into problems running the asp.net 2.0 websites.

I visited the fixes page to read about the IIS metabase. the problem is - aspnet_regiis of framework .net 2.0 doen't work any more. Also all the websites / virtual directories configured in IIS 5.x on Windows XP to use the asp.net 2.0 framework don't work.

So i downloaded the Metaacl.vbs to check the settings of IIS metabase on my PC.

The permissions assigned to Admin user and the Service user account seems to be alright. No i am confused as to what is the exact cause of -

1) The websites targeting Framework 2.0 are not working any more

2) Why is the aspnet_regiis corrupt and gives the error - "The application failed to initialize properly" Is it a known compatibility issue for VS 2008 and VS 2010. Can we or Can we not have both of them installed parallely?

Posted: Jan 19, 2011 12:30 PM

View 2 Replies!   View Related
Configuration :: How To Create One Web.config For Multiple Websites
Ihave3web.configs and 1 web project. I compile it once, andwhen deploy it, all I do is copy the correct web.config to the correct directory.

This istoo complicate to maintain, when I haveweb.config change I must change all the three.

So, what I want is to keep only one web.config file, for all three websites.

In order of doing so, I have created a new settings.xml file, and I wish to read everything from there instead of te web.config file.

to my questions:

1. I need to remove ConnectionString from web.config to the settings.xml file. How do I change the providers connection string programatically?

[Code]....

Seems like moving the connection string to a different file might be a difficult task:)

2. How programatically can I do what I did on the web.config easily:

[Code]....

Posted: Jun 04, 2010 03:54 PM

View 6 Replies!   View Related
Configuration :: Set Up Multiple Websites In Godaddy's 4G Hosting?
I just upgraded to windows 4G hosting from old windows hosting on Godaddy. I have hosted multiple websites on this hosting account. The primary domain website [URL] is working fine after the upgrade but all other sites hosted in same account report some errors.

The structure is like this:

Root: inHouseRecipes.com
Root/s/Website1
Root/s/Website2

I have checked that the websites in subfolders are set up as an application in IIS 7. Also, the web.config of parent (root) website has the following

<location
path="."
inheritInChildApplications="false"
>

tag to stop other child web.config to inherit anything from parent.

I use asp.net to code my websites. Before 4G upgrade everything used to work like a charm.
Has anybody else also experiences the same issues? If yes, what are the changes that we need to make to support multiple web sites in same 4G hosting account?

Posted: Mar 23, 2011 06:44 AM

View 5 Replies!   View Related
Configuration :: VS 2008 Multiple Websites Referencing The Same Files?
I would like to have several websites that use the same styles, scripts, and App_GlobalResources. What would be the best way to structure my websites (web applications) to use the same files? I also need to share user controls with code behind.

Posted: Nov 24, 2010 01:36 PM

View 6 Replies!   View Related
Configuration :: How To Convert Websites Created In VS 2005 & 2008 To VS 2010 Sites
I have numerous web sites created over the years. Some were created using FrontPage with aspx pages added that were created in VS 2003 or VS 2005. Others were web sites that were actually created with VS 2005 or 2008. All these older sites reside in the C:Inetpubwwwroot folder of my present development computer, withonly the.sln and the .suo files residing in the projectfolder. All of the siteshave counterparts on the Internet.I am about to build a new computer and would prefer to only install VS 2010 on it. When Previously building new computers, I installed VS 2005 and VS 2008 so that I could administer

Posted: Sep 02, 2010 06:58 PM

View 2 Replies!   View Related
How To Combine Web Applications 3.5 C#
how to make an asp.net 3.5 application understand that I am part of a higher level of orginization. This orginization is divided by Program. For example, lets say each Program is broken up into A,B,C,D,E,F,G. Each program will have their own users as well as role security. The thing is that all of the users will be in the same aspnet Table in Sql.

Should I link programID with users? How do I seperate role security to not be confused that an administrator of Program A is not an administrator of Program F.

Posted: Jul 16, 2009 07:44 PM

View 2 Replies!   View Related
SQL Reporting :: Can Combine LIKE And IN
I have a report with several filter parameters. Everything works fine presently.For oneparameter, I use the LIKE as follows in my WHERE statement:

WHERE drug LIKE '%' +@drugused + '%'

@drugused is the selection value of a dropdown list. But now I want to change my parameter to allow multi-selection. But I am not sure how to write my WHERE statement for this. Normally I would use IN but I'm not sure how to do this with the LIKE.

Posted: Nov 04, 2010 02:41 PM

View 6 Replies!   View Related
C# - Can Combine Two Objects Into One
I'm preparing to pass values to a method:

private string BuildMessage(int templateID, string body, object data)


where the data param is an array of name/value pairs. To prepare my values for that data param I need to combine the properties of a strongly typed class with the values of a simple 2d array.

What's the best way to merge those values?

Posted: Oct 3 10 at 18:02

View 1 Replies!   View Related
Combine Css And Master Pages?
how can i use both the css and master page to make my web pages stylist

Posted: Feb 14 09

View 5 Replies!   View Related
Utility To Combine Querystrings?
Is there a utility to combine querystrings? I'm looking for something like:

Input: Combine("test=a&test2=b", "test3=c") Result: "test=a&test2=b&test3=c"
Input: Combine("test=a&test2=b", "") Result: "test=a&test2=b"
Input: Combine("", "test3=c") Result: "test3=c"

And maybe some weird ones:

Input: Combine("&test=a&test2=b", "?test3=c") Result: "test=a&test2=b&test3=c"

Posted: Apr 28 10 at 14:42

View 5 Replies!   View Related
Combine Silverlight) With SAP Webdynpro?
Does anybody knows possibilities or approaches to combine ASP.NET with SAP Webdynpro (or to embed/integrate Webdynpro in a ASP.NET (or Silverlight) application) ?

Posted: Mar 1 10 at 9:59

View 2 Replies!   View Related
C# - Combine MP3 Files In Response?
I lied! The commandline fails if the two source files have different bitrates (does samplerate matter?). Also, the source code below succeeds when the two sources are the same bitrate. So, this looks like a bitrate challenge now.

Original question:

result.mp3 (from the commandline, below) is playable in WMP11. The ASP.NET code below serves a file which plays fine in WMP11. But, when I uncomment those two lines, WMP11 won't play the file. Something about the code that merges the two MP3 files isn't to the satisfaction of WMP11. How can I change the ASP.NET code to merge the two MP3s in the HTTP response with the success that the 'copy' commandline gives me?

protected void Page_Load(object sender, EventArgs e) {
Response.Clear();
Response.ContentType = "audio/mpeg";
Response.AddHeader("Content-Disposition", "attachment; filename=test.mp3");
var bytes1 = System.IO.File.ReadAllBytes(@"C: est1.mp3");
WriteBytesToResponse(bytes1);
//var bytes2 = System.IO.File.ReadAllBytes(@"C: est2.mp3");
//WriteBytesToResponse(bytes2);
Response.End();
}
private void WriteBytesToResponse(byte[] sourceBytes) {
using (var sourceStream = new MemoryStream(sourceBytes, false)) {
sourceStream.WriteTo(Response.OutputStream);
}
}

copy /B test1.mp3+test2.mp3 result.mp3

Posted: Jan 19 10 at 23:43

View 3 Replies!   View Related
Can Combine WebResource.axd CSS Requests
I have developed some ASP.NET server controls which include their own javascript and css files. A lot of these controls use jQuery extensions which, as you know, often include their own css files.

I'm using Telerik's RadScript manager which combines the javascript like a boss. However, I'm using the AjaxToolkit's ClientCssResource attribute to include the css files in my server controls, and I have noticed that the CSS files are not getting combined at all. My pages have 10-15 WebResource.axd requests for css files for my server controls.

Everything I find only is about combining javascript, and nothing tells me how I can combine the CSS files. Does anyone know if there is a way to combine the CSS dynamically (I don't want to manually combine as each page might use a different subset of the server controls)?

Posted: Sep 15 10 at 21:00

View 2 Replies!   View Related
SQL Server :: Combine Two Querys Into One?
My query below

SELECT
WORKORDER
WORKORDER
[dbo]
WORKORDER.ACCT, MASTERFI.NAME1,
.TICKET_RECV_DT, WORKORDER.WORK_ORDER_NUM,
.LAST_ACTION,WORKORDER_DETAIL.WORKER
FROM [dbo].WORKORDER,
.MASTERFI, [dbo].WORKORDER_DETAIL.......

I want to combine two querys into one, how do i achieve this result?

Posted: Feb 09, 2011 03:09 PM

View 4 Replies!   View Related
Combine Script# And Web Controls?
I currently have a Web Application project in VS2010. Each control (in *.ascx files) is contained in it's own separate folder along with the web services used by that control (in *.asmx files) and the javascript object used to manipulate it (in *.js files). So the project layout looks something like:

WebApp/
WebControl1/
WebControl1.ascx
WebControl1.ascx.cs
WebControl1.ascx.designer.cs
WebControl1.asmx
WebControl1.asmx.cs
WebControl1.js
WebControl2/
Global.asax
Default.aspx
Default.aspx.cs
Default.aspx.designer.cs

The project is expanding and I'm looking to upgrade and replace the .js files using Script#. I'd like to maintain this structure but as far as I can tell there's no way to mix Script# and regular C# files in the same project.

I've looked at the Readme PDF on the Script# site and downloaded the PhotoDemo example but I can't find any examples of using Script# along side Web Controls. I've tried adding the 'Script Support' template to the project and then adding both Class and Page templates from the Script# template list but they both get treated as regular C# source code files.

I've used reflector to look into the mscorlib, System.Web, ScriptSharp.Web, ScriptSharp.VisualStudio, ScriptSharp and Script.Windows binaries that are installed by Script# and haven't been able to find anything that would allow this behaviour.

Has anyone implemented something similar or have any further hints?

The only way I've managed to use Script# at the moment is to have a separate Script# project and have the output for the javascript files be inside my Web Application.

Posted: Jan 21 at 2:11

View 1 Replies!   View Related
ADO.NET :: Combine 2 Linq Queries?
Is it possible to combine these 2 linq queries ?

[Code]....

Posted: Jul 27, 2010 02:45 PM

View 2 Replies!   View Related
Cache Combine Two User Data
I have a master/detail web form and i have implement a caching to hold detail data. i am facing problem that when two user login same time and enter data, cache has combined the data and both user ara getting each other data. i want every user gat his own data.

Posted: Mar 15th, 2011, 06:58 AM

View 6 Replies!   View Related
AJAX :: Way To Combine Script Languages
I had to rebuild my development environment after my hard drive crashed. Before the crash I used ScriptManager with CompositeScript tags to combine js filesusing AjaxControlToolkit, version 3.0.20820.29441. Now I am forced to use AjaxcontrolToolkit version 3.5.40412.0 which insists that I use ToolkitScriptManager which seems to combine ALL Ajax controls instead of the ones I specifiy in CompositeScript. And when I use the attributeCombineScriptsHandlerUrl="~/CombineScriptHandler.ashx" (the latter from SampleWebSitethat comes with AjaxControlToolkit) I see in Fiddlerthat the ashx file cannot be found.

Posted: Dec 14, 2010 07:53 PM

View 1 Replies!   View Related
Web.config - How To Combine The Authorization Rules
I have the following authorization rules in my web.config:

[code]....

Except for the path attribute these two rules are the same. Is there a way to combine these two rules into one like path = Register.aspx, ForgotCredentials.aspx.

Posted: Jan 28 10 at 17:46

View 3 Replies!   View Related
C# - Combine Multiple DataViews Into A Single One?
I have 4 different select statements which i sequently assign to an sqlDataSource like this:

sqlNoutatiProduse.SelectCommand = select;

and i keep the results in different DataViews like

MySession.Current.dataViewNoutatiProduse1 = (System.Data.DataView)sqlNoutatiProduse.Select(DataSourceSelectArguments.Empty);

Is it possible to combine into a single DataView the results of these queries?

Posted: Mar 3 10 at 19:35

View 1 Replies!   View Related
Combine Two Datatables Into Single Datatable?
I am trying to combine two datatables into single datatable... First table contains 3 columns[e.g: 'col1','col2','col3'] Second table contains 2 columns[e.g: 'col4','col5'] Both tables have the same no.of records[rows], but different columns. How to combine them into single table? I need DataTable with columns ['col1','col2','col3','col4','col5']. I am inserting through looping the both the tables and adding values into third table. I tried the Merge (DataTable.Merge()), but it is adding the records to bottom of first one, but i need it should be added to the side[as columns] to first table'

Posted: Oct 27, 2010 07:59 AM

View 6 Replies!   View Related
Web Forms :: How To Combine C# And Html/javaScript
i got a question that realy bothering me .... for the last 24 hours ...

how to combine c# and html/javaScript .....??

so ... the question :

for example i create a varible in my asp.net form .......

int variable = 2;
// some function .....
protect int makeItdouble(int variable)

{

return variable*2;

}
variable = makeItdouble(5); // some code i

and now i want to take this "variable" into my my javascript code .... this important thing is that i want thet this function will run first .... (the C# function)cus i take first my DataBase from the server and that prosses him more with some javascript code ...

Posted: Apr 17, 2010 11:27 AM

View 10 Replies!   View Related
C# - Combine Javascript/CSS Into One File Or Two For Better Optimization?
I am currently working on an c# application that minimizes and combines javascript/css asynchronously in the background to load on to the page which completed. Once the combined minimized file(s) are created, they are saved on to disk and all subsequent requests to the page will load this file.

The reason for this is to assist with performance on the page. I have a concern though, what if the combined file is large, eg 200 kb. Would it be better to combine in to 2 files if this was the case and have 2 separate http requests? The file will be gzipped and cached.

Posted: Jan 24 at 18:35

View 3 Replies!   View Related
Multiple Javascript Files, Combine Into One?
I am developing in asp.net mvc and using multiple javascript files.eg jquery, jquery-ui, google-maps my own js files etc.for performance should i combine these into one?if so how?

Posted: Feb 2 at 16:55

View 4 Replies!   View Related
Web Forms :: Combine 2 Datalist To Display?
I would like to combine 2 datalist to display row by row, I mean the first row of the datalist_1 combine with the first row of the datalist_2 to display together. how can i do this?

Posted: Dec 23, 2009 08:39 AM

View 2 Replies!   View Related
SQL Server :: Combine Two Queries In One Resultset?
I want to combine two queries like :

select name as name1 from table1 where id = 6

and

select name as name2 from table1 where id = 2.

I need a single resultset. How can I do that?

Posted: Sep 06, 2010 11:01 AM

View 26 Replies!   View Related
AJAX :: Combine TextBox And AutoCompleteExtender?
How can I combine the TextBox and the AutoCompleteExtender, such that they become a single control the way the ComboBox is?

Posted: Feb 07, 2011 10:22 PM

View 3 Replies!   View Related
SQL Server :: Combine Two Rows Of Data?
have a complex sql stored procedure which involves several unions.The unions also involveat from views. When the data is returned, it might look like the following.

ProductId Name Amount Buyer Date YearsAsCustomer
1 Jones 234.44 Nichols
1 Jones 3/12/2011 3
2 Melon 333.00 Tripol
2 Melon 3/23/2011 4

This is just a simple example, but notice how the records with the same product Id can be combined?Because one record has some of the data I need and the other record has different data. So essentiallythey should just be in one record together. So the output should look like this:

ProductId Name Amount Buyer Date YearsAsCustomer
1 Jones 234.44 Nichols 3/12/2011 3
2 Melon 333.00 Tripol 3/23/2011 4

How can I combine these records together? In the stored procedure the query is build in a parameter stringnamed @SQL, and then the query is executed by using the EXEC command:EXEC sp_executesql @SQL.Is their anway I can combine all of the outputted records into one record. Where the records I want to combine
have the same ProductId (As in the example I illustrated above?)

Posted: Mar 09, 2011 10:27 PM

View 7 Replies!   View Related
ADO.NET :: Can't Combine "LINQ Join" With Other Tables?
The main problem is that I recieve the following message:

"base {System.SystemException} = {"Unable to create a constant value of type 'BokButik1.Models.Book-Author'. Only primitive types ('such as Int32, String, and Guid') are supported in this context."}"

based on this LinQ code:

[Code]....

How shall I solve this problem to get a class instance that contain with property title and Book-AuthorID?I also have tried making some dummy by using "allbooks" relation with Code Samples from the address

http://www.hookedonlinq.com/JoinOperator.ashx. Unfortunately, still same problem.

I also have taken account to Int32 due to entity framework http://msdn.microsoft.com/en-us/library/bb896317.aspx. Unfortunatley, still same problem.

Using database with 3 tables and one of them is a many to many relationship. This database is used in relation with entity framework

Book-Author
Book-Author (int)
BookID (int)[code]....

Posted: Jan 08, 2011 09:41 AM

View 1 Replies!   View Related
Web Forms :: How To Combine Static Value At Runtime
iam using oracle 10g... m showing some data for a particular record on my page..i have some fields where i have to mention thr units like 'metre' or 'kg' as in my database those fields are numeric so can't make change directly in database.. so is thr any other solution so that i can display those fields with thr proper units at runtimelike 'depth= 100 m'..

Posted: Sep 16, 2010 06:34 AM

View 6 Replies!   View Related
Combine Multiple Audio Files Query?
Is there any way to combine multiple Audio Files (.wav etc) into one file?

I have found an example here :

[URL]

Quote:

[code]....

Posted: Apr 1, 2010, 06:48

View 1 Replies!   View Related
How To Combine Silverlight Parts Into A Page / Project
I would like to create a dot net page and combine in it some silverlight parts / elements...

how to do that?

Posted: Mar 19, 2010 09:51 PM

View 4 Replies!   View Related
AJAX :: How To Combine ScriptResource.axd And WebResource.axd Files
BasicallyMy requirement is to combine webresource.axd and scriptresource.axd files.

As you know when we use asp.net ajax and ajaxtoolkit in the application by default ,some of the javascript files(webresource.axd and scriptresource.axd) will load automatically.

For loading all the JavaScript files browser will take multiple requests, To reduce the multiple requestsi amtrying to combine all the scripts into one file and loading into the client side.

Ihave tried to resolve using custom httpmodule and httphandlers but they are still puttingme in loops.If i am not using AjaxToolkit Controls my custom httpmodule working fine to combine scriptresource.axd and webresource.axd files andalso browser taking only one request to get all the javascript files. if i am using Ajaxtoolkitcontrols i am getting error scriptLoad Failed exception and sys is undefined Ijust wanted to knock people to understand if they had used a different method, Iwant to doeverything using asp.net 2.0

Posted: Aug 04, 2009 02:05 PM

View 1 Replies!   View Related
DataSource Controls :: Combine Data From 2 Tables
I have 2 tables with UserId and FirstName, LastName Columns that I want to combine thedatain a Select Statement or Stored Procedure

1. The 2 tables will never have the same data, each table will be distinct

2. I want to combine first and lastnames to a full name (t1.FirstName + ' ' + t1.LastName) AS FullName

3. The statement will be used to populate a dropdownlist with UserId as Value, and Name as text

I am unsure how to accomplish this since I do not need to connect the tables, but combine the Sum of their data.

Posted: Mar 27, 2010 03:45 AM

View 6 Replies!   View Related
SQL Server :: Combine Inner Joins - Get A Field Value From The First Statement
I have a select statement. I need to get a field value from the first statement. GOAL: Below is what I am trying to accomplish - the code below is not correct - Please modify the statement with the correct SQL Syntax. I want to query a table and based on the results I want to set the "If THE Else"statement to query then table with diffent inner joins.

SELECT * FROM CONTENTITEM CI
INNER JOIN CONTENTCATEGORY CC ON CI.CATEGORYID = CC.CATEGORYID
IF CI.FORMTYPE = 200 OR 300
SELECT * FROM CONTENTITEM CI
INNER JOIN CONTENTCATEGORY CC ON CI.CATEGORYID = CC.CATEGORYID
INNER JOIN CONTENTFORMFIELD CF ON CF.ITEMID = CI.ITEMID
WHERE CI.ITEMID = @ITEMID
ELSE
SELECT * FROM CONTENTITEM CI
INNER JOIN CONTENTCATEGORY CC ON CI.CATEGORYID = CC.CATEGORYID
WHERE CI.ITEMID = @ITEMID

Posted: Sep 14, 2010 05:25 PM

View 10 Replies!   View Related
How To Combine Two Fields Into One Before Inserting/updating The Database
How do i combine two fields into one before inserting/updating the database?Imagine i have a sql-table with an event_date field (smalldatetime) and i'm using a sqldatasource to query that table.In my formfield i have two fields: one field called 'e_date' (dd-mm-yyyy) and one field called 'e_time' (hh:mm).note: in edit-mode the values of these fields are splitted from field 'event_date')If a user enters 21-11-2009 into 'e_date' field and 10:45 into 'e_time' field, how do i put those together into that single event_date field of the database

Posted: Feb 26, 2009 12:36 PM

View 4 Replies!   View Related
Copyright 2005-08 www.BigResource.com, All rights reserved