<P> The filmmakers received permission from White Castle in 2002 to use the chain's name in the film . One scene that depicted a White Castle being closed was changed at the request of the company's director of marketing . The film was also supposed to feature a hunt for Krispy Kreme donuts, but the food was changed to hotdogs when Krispy Kreme refused to allow the film to use their name . </P> <P> Hurwitz and Schlossberg included a role for Neil Patrick Harris as himself in the script without asking him first . Harris liked the script and agreed to appear in the film . During casting, both Kal Penn and actor Sendhil Ramamurthy were being considered for the role of Kumar . After auditioning seven times, Penn eventually won the part . </P> <P> Harold & Kumar began filming on May 12, 2003 . The film is set in New Jersey, but was mainly filmed in Toronto, Ontario, Canada . Scenes set at Princeton University were actually filmed at the University of Toronto's Victoria College and Knox College . The production design team had to build a White Castle franchise especially for the shoot since Canada does not have White Castle restaurants . During filming, Penn ate veggie burgers as he is a vegetarian . </P> <Table> <Tr> <Th_colspan="2"> Harold & Kumar Go to White Castle--Soundtrack </Th> </Tr> <Tr> <Th_colspan="2"> Soundtrack album by Various Artists </Th> </Tr> <Tr> <Th> Released </Th> <Td> July 27th, 2004 </Td> </Tr> <Tr> <Th> Label </Th> <Td> Bulletproof </Td> </Tr> </Table>

Harold and kumar go to white castle where was it filmed